Skip to contentSkip to conversation

libgtk2 configure

Buildroot Micha Nelissen 1 participant 1 message Jun 30, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

When libgtk2 is configuring it dynamically determines the variable sys_lib_search_path_spec by using -print-search-dirs. These contain the staging_dir correctly.

However, afterwards it overwrites it with a default "/usr/lib /lib" in a "case $host_os" of "linux* | k*bsd*-gnu".

Problem is that when linking it will look at host installed libglib2 etc which is linked with glibc. It does not look at the cross system root (staging_dir/ etc.). glibc will conflict with uclibc, so I get all kinds of strange compile errors (can't find glibc symbols).

Where is the problem? autoconf? libgtk2?

Regards,

Micha