Oh, it's works. Great!
Test 2: Run driver-specific function:
mysql_get_proto_info returned: 10
I did a quick test and make check works.
I will do more tests and report then.
Thanks
On Thu, Mar 27, 2008 at 4:44 PM, Markus Hoenicka
[EMAIL PROTECTED] wrote:
João Henrique Freitas writes:
It's realy works?
Could you please try the latest cvs version? I've discovered a
portability issue of dlsym on at least FreeBSD and Linux. This does
apparently not affect the symbols which are directly loaded by
dlopen() (i.e. the driver functions), but those symbols which are
defined in the shared libraries that drivers are linked against. On
Linux, dlsym() will find the latter symbols just fine when using the
handle returned by dlopen(), but this fails on FreeBSD. On that
platform I have to use the special handle RTLD_NEXT to make it
work. This trick in turn does not work on Linux. I had to resort to a
hack in configure.in which sets a flag appropriately based on $host.
If anyone knows how to handle this in a simpler fashion, please let me
know. Also, if you have access to a platform other than FreeBSD and
Linux, please build and install the cvs version of libdbi and run
make check in libdbi-drivers to see whether custom functions
work. If not, fiddle with the conditional in configure.in which sets
dlsym_handle, and let me know the results.
regards,
Markus
--
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de
--
---
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://joaohf.pbwiki.com
http://www.livejournal.com/users/joaohf/
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users