[unixODBC-support] cannot open shared object file: No such file or directory

Bill Mullin bill.mullin at gmail.com
Thu Mar 27 14:51:36 GMT 2008


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 at xtek.com> 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.
>
>
> 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 at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
>



-- 
William P. Mullin
AgentWare Systems,Inc.
28287Beck Rd. Bldg. D-6
Wixom, MI 48393

wpmullin at agentwaresystems.com
cell: 248-789-5716
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20080327/de101f12/attachment.html>


More information about the unixODBC-support mailing list