Bugs item #1593419, was opened at 2006-11-09 14:44 Message generated for change (Comment added) made by mhoenicka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=512945&aid=1593419&group_id=65979
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Claudiu Cismaru (cnixs) >Assigned to: Markus Hoenicka (mhoenicka) Summary: libltdl breaks things in SuSE 10.1 Initial Comment: I have installed libdbi Guru's RPMS for SuSE 10.0 on SuSE 10.1. I tested some programs but they weren't working. I uninstalled the RPMS and rebuilt them from source rpms, for SuSE 10.1 (I though that some library incompatibility breaks things). Same behavoir: A program that loads sqlite3 driver (e.g.), tries to call other drivers (e.g. postgres's one - in gdb on the program I've seen calls to PGvalue () or something like this, before the segmentation fault) when more than one driver is present in /usr/lib/dbd. Same if the program uses mysql driver, calls other drivers, instead. I compiled from source with the tarballs from the source rpms and the behavoir was gone. I compiled all the drivers (sqlite*, pgsql, mysql). When I took a look to the rpm building spec, there was a option that I didn't used in manual compile --with-ltdl. Seems that this option creates this behavoir in SuSE 10.1. I don't know if some other systems has this "bug". System has: candy:~$ gcc --version gcc (GCC) 4.1.0 (SUSE Linux) candy:~$ rpm -q -f /usr/lib/libltdl.so libtool-1.5.22-11 candy:~$ ld --version GNU ld version 2.16.91.0.5 20051219 (SUSE Linux) candy:~$ rpm -q -a | grep glibc-2 glibc-2.4-31.1 The libdbi version was the last from sf.net. Same at libdbi-drivers. If you need more information about the system, just ask. ---------------------------------------------------------------------- >Comment By: Markus Hoenicka (mhoenicka) Date: 2006-11-09 15:38 Message: Logged In: YES user_id=85809 I guess this is actually a libdbi issue. Grepping through the libdbi-drivers sources does not reveal that dlopen or similar calls are used from within the drivers, so the --with-ltdl switch may be a leftover when the drivers project was split from the framework. I have no idea why the RPMs use the --with-ltdl switch. That switch is meant to turn on a crutch on systems that have no native support of dynamic linking. All mainstream Linux and Unix systems should be fine without that switch. Therefore I don't believe this is a real libdbi bug, but rather a problem that occurs if you do something you shouldn't do anyway. Will you follow up on this and bring it to the attention of the RPM maintainer? ---------------------------------------------------------------------- Comment By: Claudiu Cismaru (cnixs) Date: 2006-11-09 14:51 Message: Logged In: YES user_id=999107 Seems that I posted something wrong. Maybe it's libdbi fault, not libdbi-drivers? I didn't tested... to see when use only on libdbi-drivers --with-ltdl or when use on both or when use on libdbi only. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=512945&aid=1593419&group_id=65979 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel