Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 841825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:51:46+00:00 2026-05-15T05:51:46+00:00

I am attempting to install an application. During compilation it fails with the following

  • 0

I am attempting to install an application. During compilation it fails with the following error:

/usr/bin/ld: cannot find -lemu

I have installed the libemu library, and it now currently resides in /opt/libemu/. However, when I try and compile my application the library is not found. Is there any way to correct this?


EDIT: It also looks like the make is resulting in:
It also looks like the make file is compiling with the following:

gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-x86_64-2.6/libemu_module.o 
-L/opt/libemu/lib -lemu -o build/lib.linux-x86_64-2.6/libemu.so

I have tried setting my LD_LIBRARY_PATH to /opt/libemu, still doesn’t work – fails with the error mentioned above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:51:47+00:00Added an answer on May 15, 2026 at 5:51 am

    You need to tell the linker where it is:

    gcc  stuff -L/opt/libemu -lemu
    

    or:

    gcc  stuff /opt/libemu/libemu.a
    

    where stuff is your normal compile/link options files etc.

    You can also specify library paths in the LIBRARY_PATH environment variable:

    LIBRARY_PATH=/opt/libemu
    export LIBRARY_PATH
    

    before you run your build. Yet another option is to see where gcc looks for libraries by running:

    gcc --print-search-dirs
    

    and put your library in one of the listed directories.

    Edit: It is really not clear from your latest info what you are trying to build. Are you trying to turn a static library into a shared library? Most important – What is the exact filename of the library file you have copied into the /opt/libemu directory?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when attempting to install RubyGems . I've tried Googling
When attempting to compile my C# project, I get the following error: 'C:\Documents and
We are attempting to install BizTalk Server 2006 R2 on a fresh server with
Does attempting to develop some sort of game, even just as a hobby during
I'm attempting to create my first real C# application - a small pet project
I have a Websphere Portal application containing several portlets for which I'm currently working
I used to be able to launch a locally installed helper application by registering
I'm trying load a 3rd party DLL but I get an error when attempting
Attempting to insert an escape character into a table results in a warning. For
Attempting to print out a list of values from 2 different variables that are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.