|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
cannot open shared object file: No such file or directoryI've managed to ./configure, make and make install unixODB just fine. I see that make install installs the files in /usr/local just fine.
When I run 'isql' I get the following error: sql: error while loading shared libraries: libodbc.1: cannot open shared object file: No such file or directory OK, so my library path must not include /usr/local/lib * but it does! perforce:/usr/local # find . | grep libodbc.1 ./lib/libodbc.1 ./lib/libodbc.1.0.0 Unfortunately, when I do a 'ldconfig -v', all I get for /usr/local/lib is a blank line as such: [snip above] libethereal.so.0 -> libethereal.so.0.0.1 libXrandr.so.2 -> libXrandr.so.2.0 libXmu.so.6 -> libXmu.so.6.2 /usr/local/lib: /opt/gnome/lib: libimlib-jpeg.so -> libimlib-jpeg.so libIIOP.so.0 -> libIIOP.so.0.5.17 libgnomeui [snip below] I've verified that /usr/local/lib is in my /etc/ld.so.conf file. I've even added a .conf file to /etc/ld.so.conf.d pointint to /usr/local/lib. I've even recompiled unixODBC with different prefix-dirs but to no avail. I've done this on other systems before. Any idea what might be going on? perforce:/usr/local # uname -a Linux perforce 2.6.5-7.244-bigsmp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux perforce:/usr/local # cat /etc/SuSE-release SUSE LINUX Enterprise Server 9 (i586) VERSION = 9 PATCHLEVEL = 3 Thanks, Brian _______________________________________________ unixODBC-support mailing list unixODBC-support@... http://mail.easysoft.com/mailman/listinfo/unixodbc-support |
|
|
Re: cannot open shared object file: No such file or directoryTry rebuilding your library cache.
it appears that your /etc/so.cache has no knowledge of changes in contents of /usr/local/lib On Thu, Mar 27, 2008 at 10:44 AM, Brian Schonecker <Brian.Schonecker@...> wrote: I've managed to ./configure, make and make install unixODB just fine. I see that make install installs the files in /usr/local just fine. -- William P. Mullin AgentWare Systems,Inc. 28287Beck Rd. Bldg. D-6 Wixom, MI 48393 wpmullin@... cell: 248-789-5716 _______________________________________________ unixODBC-support mailing list unixODBC-support@... http://mail.easysoft.com/mailman/listinfo/unixodbc-support |
|
|
Re: cannot open shared object file: No such file or directoryBill Mullin wrote:
>Try rebuilding your library cache. >it appears that your /etc/so.cache has no knowledge of changes in contents >of /usr/local/lib > >On Thu, Mar 27, 2008 at 10:44 AM, Brian Schonecker < >Brian.Schonecker@...> wrote: > > > Also check that SELinux isn;t preventing the library from being loaded -- Nick Gorham Easysoft Limited http://www.easysoft.com, http://www.unixODBC.org _______________________________________________ unixODBC-support mailing list unixODBC-support@... http://mail.easysoft.com/mailman/listinfo/unixodbc-support |
|
|
|
|
|
Re: cannot open shared object file: No such file or directoryYes if the user has sufficient permissions.
from the man page ldconfig should normally be run by the super-user as it may require write permission on some root owned directories and files. On Thu, Mar 27, 2008 at 11:17 AM, Brian Schonecker <Brian.Schonecker@...> wrote:
-- William P. Mullin AgentWare Systems,Inc. 28287Beck Rd. Bldg. D-6 Wixom, MI 48393 wpmullin@... cell: 248-789-5716 _______________________________________________ unixODBC-support mailing list unixODBC-support@... http://mail.easysoft.com/mailman/listinfo/unixodbc-support |
| Free Forum Powered by Nabble | Forum Help |