Re: [Cppcms-users] static linking error
Brought to you by:
artyom-beilis
|
From: Shiv S. D. <shi...@gm...> - 2013-07-30 06:14:56
|
You can also pass -L/path-to-dir-which-contains-libdl.so to gcc. On Tuesday 30 July 2013 10:52 AM, Marcel Hellwig wrote: > On 30.07.2013 02:12, ?? wrote: >> find / -name 'libdl.*' >> /usr/lib/x86_64-linux-gnu/libdl.a >> /usr/lib/x86_64-linux-gnu/libdl.so >> /lib/i386-linux-gnu/libdl.so.2 >> /lib/x86_64-linux-gnu/libdl.so.2 >> >> But I need to static link it in my app. Do you mean LIBRARY_PATH >> instead of LD_LIBRARY_PATH? >> > One is for runtime, the other one for compile time ;) > http://stackoverflow.com/questions/4250624/ld-library-path-vs-library-path > > you also can check if ldconfig finds your libdl with >> ldconfig -p | grep libdl > if not, update your ldconf > http://linux.101hacks.com/unix/ldconfig/ > > > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |