Invalid soname

Mateusz Loskot <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
Hi,

I'm writing first time on this list, so I'm saying "Hello!" to all members.

Today, I decided to build MDB Tools on my Ubuntu 5.10 box and after I
run 'make install' command I got invalid soname of libraries and
symbolic links.

Here is step by stack trace what I did. I installex unixODBC 2.2.11 from
Ubuntu packages with /usr as a prefix.

$ ./configure --with-unixodbc=/usr
$ make
$ make instal

$ ls -l /usr/local/lib/libmdb*
lrwxrwxrwx  1 root root     12 2006-05-23 22:27 /usr/local/lib/libmdb ->
libmdb.0.0.0
lrwxrwxrwx  1 root root     12 2006-05-23 22:27 /usr/local/lib/libmdb.0
-> libmdb.0.0.0
-rwxr-xr-x  1 root root 199442 2006-05-23 22:27 /usr/local/lib/libmdb.0.0.0
-rw-r--r--  1 root root 299908 2006-05-23 22:27 /usr/local/lib/libmdb.a
-rwxr-xr-x  1 root root    796 2006-05-23 22:27 /usr/local/lib/libmdb.la
lrwxrwxrwx  1 root root     16 2006-05-23 22:27
/usr/local/lib/libmdbodbc -> libmdbodbc.0.0.0
lrwxrwxrwx  1 root root     16 2006-05-23 22:27
/usr/local/lib/libmdbodbc.0 -> libmdbodbc.0.0.0
-rwxr-xr-x  1 root root 315009 2006-05-23 22:27
/usr/local/lib/libmdbodbc.0.0.0
-rw-r--r--  1 root root 457604 2006-05-23 22:27 /usr/local/lib/libmdbodbc.a
-rwxr-xr-x  1 root root    895 2006-05-23 22:27 /usr/local/lib/libmdbodbc.la
lrwxrwxrwx  1 root root     15 2006-05-23 22:27 /usr/local/lib/libmdbsql
-> libmdbsql.0.0.0
lrwxrwxrwx  1 root root     15 2006-05-23 22:27
/usr/local/lib/libmdbsql.0 -> libmdbsql.0.0.0
-rwxr-xr-x  1 root root  80408 2006-05-23 22:27
/usr/local/lib/libmdbsql.0.0.0
-rw-r--r--  1 root root  91024 2006-05-23 22:27 /usr/local/lib/libmdbsql.a
-rwxr-xr-x  1 root root    813 2006-05-23 22:27 /usr/local/lib/libmdbsql.la


As you can see, MDB Tools libraries have invalid soname.
Accordint to odbcinst.ini definition of MDB driver, I had to create symlink:

$ ln -s /usr/local/lib/libmdbodbc.0.0.0 /usr/local/lib/libmdbodbc.so.0

Is this known issue or I did something wrong?

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.