[uClibc] [buildroot 0000199]: glib1.2 doesn't compile shared library

bugs at busybox.net bugs at busybox.net
Wed Mar 30 18:37:00 UTC 2005


A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=199> 
======================================================================
Reported By:                Oliv
Assigned To:                uClibc
======================================================================
Project:                    buildroot
Issue ID:                   199
Category:                   Shared Library Support
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             03-30-2005 05:27 PST
Last Modified:              03-30-2005 10:37 PST
======================================================================
Summary:                    glib1.2 doesn't compile shared library
Description: 
When I've included glib1.2 support in buildroot package, I got the
following error:
cp -a /data/LiveCD/buildroot/build_i386/staging_dir/lib/libglib.a
/data/LiveCD/buildroot/build_i386/root/lib/
cp -a /data/LiveCD/buildroot/build_i386/staging_dir/lib/libglib.so
/data/LiveCD/buildroot/build_i386/root/lib/
cp: ne peut évaluer
`/data/LiveCD/buildroot/build_i386/staging_dir/lib/libglib.so': Aucun
fichier ou répertoire
de ce type
make: *** [/data/LiveCD/buildroot/build_i386/root/lib/libglib.a] Erreur 1

in English: libglib.so: no such file or directory
this error is normal if we consider the output of .configure:
checking how to hardcode library paths into programs... immediate
checking for
/data/LiveCD/buildroot/build_i386/staging_dir/bin/i386-linux-uclibc-ld
option to reload object
files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

But the problem is that ./configure has the --enable-shared option ???
======================================================================

----------------------------------------------------------------------
 solar - 03-30-05 10:37 
----------------------------------------------------------------------
glib-1.2 by default does not build shared objects. 
At some point we may have lost patch that handled linking glib-1.2 as a
shared object or the work is incomplete. For now this should do the trick.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
03-30-05 05:27 Oliv           New Issue                                    
03-30-05 10:37 solar          Note Added: 0000120                          
======================================================================




More information about the uClibc mailing list