This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51468] cannot find -ldl and collect 2 ld returned 1 exit status


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51468

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-08 17:23:24 UTC ---
(In reply to comment #2)
> I think the dl library is not in the path. I cannot set the path for the gcc so
> that is why the library is not found and the compile fails.

If you can add -ldl why can't you add -L/path/to/lib ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]