[Lazarus] Howto link to shared objects

2011-03-30 Thread RĂ¼diger Ranft
Hi all, how do I link against dynamic libraries in linux? Currently I rewrite the linker script INPUT( -ldl -lpthread -lX11 -lgdk_pixbuf-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lgmodule-2.0 -lpango-1.0 -latk-1.0 -lcairo ) section by INPUT( -ldl -lpthread -lX11 /u

Re: [Lazarus] Howto link to shared objects

2011-03-30 Thread leledumbo
Do you mean the default linker script doesn't work? Those -lxxx would be linked against libxxx.so, so make sure you have them in PATH (usually /usr/lib). Just create .so symlinks to those .so.0s -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Howto

Re: [Lazarus] Howto link to shared objects

2011-03-31 Thread RĂ¼diger Ranft
leledumbo schrieb: > Do you mean the default linker script doesn't work? Those -lxxx would be > linked against libxxx.so, so make sure you have them in PATH (usually > /usr/lib). Just create .so symlinks to those .so.0s Ok, I'll try if a .so link farm helps to solve this problem this weekend. Th