On Fri, Apr 27, 2012 at 7:39 PM, JP <[email protected]> wrote:
> This is probably somewhat related... I tried to restart the server and
> cannot get postgresql running...
>
> /opt/postgresql-9.1.2/bin/postgres -D /opt/postgresql-9.1.2/data/
> FATAL:  could not load library "/opt/postgresql-9.1.2/lib/rdkit.so":
> /opt/postgresql-9.1.2/lib/rdkit.so: undefined symbol:
> pthread_mutexattr_settype

Ah... Got it.
That's a bug. It's already fixed in svn
(http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/Code/PgSQL/rdkit/Makefile?revision=2038&view=markup).
You just need to edit the Makefile in $RDBASE/Code/PgSQL/rdkit and
change:

ifndef BOOSTHOME
  BOOSTHOME=/usr/local/include
endif

to:

SHLIB_LINK += -pthread
ifndef BOOSTHOME
  BOOSTHOME=/usr/local/include
endif

The diff is here:
http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/Code/PgSQL/rdkit/Makefile?r1=1994&r2=2038

-greg

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to