From: Marc S. <ma...@au...> - 2001-02-25 18:06:11
|
I'm adding the following section to the README.txt regarding this subject: Building against many libraries requires the use of run-time linking (-rtl) Due to cross-library codependencies, several of the libraries delivered with the Toolbox are built using run-time linking in order to allow the dependencies between libraries to be resolved at run-time. Some library references could not be resolved without employing run-time linking. When there is a shared object delivered with the toolbox which is not associated with a .a file, it is likely that it was built with run-time linking enabled. When you attempt to use one of these libraries you need to use the -rtl option to the linker (this is commonly enabled at the configure step by the use of LDFLAGS="-Wl,-brtl" for gcc, and LDFLAGS="-brtl" for vac/xlc. Unless you use -rtl, the linker will not search for the required .so files to resolve the shared object dependencies. The following packages were built using run-time linking technology: ORBit control-center enlightenment fnlib gdk-pixbuf gimp glade glib gnome-core gnome-libs gnome-pim gnome-print gnome-utils gnorpm gnotepad+ gnumeric gtk+ gtk-engines imlib kdeadmin kdebase kdegames kdegraphics kdelibs kdemultimedia kdenetwork kdepim kdesupport kdetoys kdeutils koffice libglade libgtop librep libtool mc ncftp rep-gtk rpm sawfish So, if you are trying to use glib or gtk+, you must use run-time linking to link your program. > > All, > > I've been working with the rpm packages and third party software > (balsa-1.1.1) and have noticed a couple of things. First, glib is not > usable by other software packages. I've searched for the problem, but no > luck. My only way around it was to install Bull's freeware version of glib > and set LIBPATH=/usr/local/lib:/usr/lib:/opt/freeware/lib. Grab a copy of > balsa or archimedes and run ./configure to see the error. > > Secondly, the same package (balsa-1.x.x) requires gnome-libs of at least > 1.2.1. The toolbox has version 1.2.0. Are there plans to release and > updated version? I tried to build the latest version myself, but again I > ran into a glib problem. > > I also can see the potential this toolbox offers. Looking forward to > building with these toolkits. > > David Edge > de...@ak... > _______________________________________________ > aixtoolbox-list mailing list > aix...@os... > http://oss.software.ibm.com/developerworks/opensource/mailman/listinfo/aixtoolbox-list > -- Marc Stephenson IBM Server Group - Austin, TX Internet: ma...@au... NOTES: ma...@us... Phone: 512-327-5670 T/L 678-3189 |