Unix Technical Forum

Load "myLib.so" error cannot load obj file...

This is a discussion on Load "myLib.so" error cannot load obj file... within the Pgsql General forums, part of the PostgreSQL category; --> Hello, i am desesperate to get this resolved, you are my only hope here is the issue: i am ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 12:23 PM
didier tanti
 
Posts: n/a
Default Load "myLib.so" error cannot load obj file...

Hello,
i am desesperate to get this resolved, you are my only hope
here is the issue:

i am compiling a .so using:

gcc -shared libxx.so -lpcre,

then in my DB, i am trying:

LOAD '/myPath/libxx.so',

it keeps returning me :

ERROR: could not load library "/myPath/libxx.so": libpcre.so : cannot open shared object file: No such file or directory.

the problem is that the libpcre.so does exist and is in my
LD_LIBRARY_PATH,

I really dont understand anything, i even dont know where to look at

at least could u give me some idea how to debug that ? i am thinking to reinstall the postgres ... i need to say that the postgres dameon is started at startup,




---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 12:23 PM
Tom Lane
 
Posts: n/a
Default Re: Load "myLib.so" error cannot load obj file...

didier tanti <tantididier@yahoo.fr> writes:
> ERROR: could not load library "/myPath/libxx.so": libpcre.so : cannot open shared object file: No such file or directory.


> the problem is that the libpcre.so does exist and is in my
> LD_LIBRARY_PATH,


But is it in the postmaster's LD_LIBRARY_PATH? That's what counts here.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com