Dear Devs and packagers

On openSUSE 11.1, 11.2, 11.3 we finish always with a postgresql rpm package 
that without batch-insert enabled.

After digging a bit in source, I've found that ( obviously in 5.0.3 source code 
) the pb is located inside the procedure to
detect with nm the threadsafe or not from libpq.so when there's no libpq.a

I've opened a bug [1] on novell buzilla because now testing the next 11.4 nm 
detect correctly the things.
and rpm & configure/compile finish with a batch-enabled on.

Novell dev, ask to use the nm -D ( for dynamic library ) which seems to be 
right in any version tested here.

example of output

nm -D /usr/lib64/libpq.so | grep -i thread
000000000000dce0 T PQisthreadsafe
0000000000009c10 T PQregisterThreadLock
                 U pthread_mutex_init
                 U pthread_mutex_lock
                 U pthread_mutex_unlock
                 U pthread_self
                 U pthread_sigmask

nm /usr/lib64/libpq.so | grep -i thread
nm: /usr/lib64/libpq.so: no symbols

Perhaps some of you can comment and give feedback about using the -D when 
bacula is build non static ?
Is that working in any case, other operating system, etc.



[1] https://bugzilla.novell.com/show_bug.cgi?id=651930

-- 

Bruno Friedmann (irc:tigerfoot)
Ioda-Net Sàrl www.ioda-net.ch
 openSUSE Member
    User www.ioda.net/r/osu
    Blog www.ioda.net/r/blog
  fsfe fellowship www.fsfe.org
GPG KEY : D5C9B751C4653227
vcard : http://it.ioda-net.ch/ioda-net.vcf

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to