[gtkada] gtkada Digest, Vol 74, Issue 5

Rob Groen robgr at xs4all.nl
Wed Jan 5 12:57:17 CET 2011


Looking in the config.log it says:

<gnatgpldir>/bin/../libexec/gcc/i686-pc-linux-gnu/4.3.4/ld: warning: 
libexpat.so.0, needed by <mydir>/gtkada/lib/libpangoft2-1.0.so, not 
found (try using -rpath or -rpath-link)

So, it is missing libexpat.so.0.
The libraries found are "libexpat.so", "libexpat.so.1", 
"libexpat.so.1.5.2". <>.so and <>.so.1 are linked to <>.so.1.5.2

What if I copy "libexpat.so.1.5.2" to "libexpat.so.0 (or create a link 
libexpat.so.0 to <>.1.5.2?)

Rob



Nicolas Setton wrote:
>> Yes I did, the PKG_CONFIG_PATH used is
>>
>> <mydir>/lib/pkg-config:/usr/lib/pkgconfig:/usr/share/pkgconfig
>>
>> the result is
>> *** 'gtk-config --version' returned 2.14.5, but GTK+ (2.18.3)
>>
>> In the meantime Arnaud also reacted, stating that I should change LD_LIBRARY_PATH
>>
>> Now I have
>>
>> LD_LIBRARY_PATH=<mydir>/lib
>> PKG_CONFIG_PATH=<mydir>/lib/pkg-config:/usr/lib/pkgconfig:/usr/share/pkgconfig
>>
>> The result is
>> checking for GTK - version >= 2.2.0... no
>> *** Could not run GTK test program, checking why...
>> *** The test program compiled, but did not run. This usually means
>> *** that the run-time linker is not finding GTK or finding the wrong
>> *** version of GTK. If it is not finding GTK, you'll need to set your
>> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
>> *** to the installed location Also, make sure you have run ldconfig if that
>> *** is required on your system
>> ***
>> ...
>>     
>
>
> Could you look at the config.log file to see what's missing?
>
> Nicolas
>
>
>   



More information about the gtkada mailing list