Re: [Sqlrelay-discussion] configure script cannot find some dependencies on debian wheezy
Brought to you by:
mused
From: Petros M. <ern...@ya...> - 2013-01-17 18:28:49
|
On 17/01/2013 01:32 ??, Petros Moisiadis wrote: > Good suggestion. I think that I found an explanation to the problem... > The debian packages put library files under > |"/usr/lib/x86_64-linux-gnu|" path, which is not checked by the > configure script. > > For example, here are lists of files in 'freetds-*' packages: > > |$ dpkg -L freetds-common|| > ||/.|| > ||/usr|| > ||/usr/share|| > ||/usr/share/doc|| > ||/usr/share/doc/freetds-common|| > ||/usr/share/doc/freetds-common/README|| > ||/usr/share/doc/freetds-common/NEWS.gz|| > ||/usr/share/doc/freetds-common/README.Debian|| > ||/usr/share/doc/freetds-common/changelog.Debian.gz|| > ||/usr/share/doc/freetds-common/copyright|| > ||/usr/share/doc/freetds-common/TODO.gz|| > ||/usr/share/doc/freetds-common/examples|| > ||/usr/share/doc/freetds-common/examples/locales.conf|| > ||/usr/share/doc/freetds-common/examples/freetds.conf.pl|| > ||/usr/share/doc/freetds-common/TODO.Debian|| > ||/usr/share/doc/freetds-common/changelog.gz|| > ||/usr/share/freetds|| > ||/usr/share/freetds/freetds.conf|| > ||/usr/share/man|| > ||/usr/share/man/man5|| > ||/usr/share/man/man5/freetds.conf.5.gz|| > ||/usr/lib|| > ||/usr/lib/odbc|| > ||/usr/include|| > ||/etc|| > ||/etc/freetds|| > ||/usr/share/doc/freetds-common/examples/freetds.conf|| > || > ||$ dpkg -L freetds-dev|| > ||/.|| > ||/usr|| > ||/usr/share|| > ||/usr/share/doc|| > ||/usr/share/doc/freetds-dev|| > ||/usr/share/doc/freetds-dev/changelog.Debian.gz|| > ||/usr/share/doc/freetds-dev/copyright|| > ||/usr/share/doc/freetds-dev/changelog.gz|| > ||/usr/lib|| > ||/usr/lib/x86_64-linux-gnu|| > ||/usr/lib/x86_64-linux-gnu/libct.a|| > ||/usr/lib/x86_64-linux-gnu/libsybdb.a|| > ||/usr/include|| > ||/usr/include/cspublic.h|| > ||/usr/include/ctpublic.h|| > ||/usr/include/sybdb.h|| > ||/usr/include/sqldb.h|| > ||/usr/include/odbcss.h|| > ||/usr/include/syberror.h|| > ||/usr/include/cstypes.h|| > ||/usr/include/tds_sysdep_public.h|| > ||/usr/include/bkpublic.h|| > ||/usr/include/sqlfront.h|| > ||/usr/include/sybfront.h|| > ||/usr/lib/x86_64-linux-gnu/libsybdb.so|| > ||/usr/lib/x86_64-linux-gnu/libct.so > > ||$ dpkg -L freetds-bin|| > ||/.|| > ||/usr|| > ||/usr/bin|| > ||/usr/bin/freebcp|| > ||/usr/bin/defncopy|| > ||/usr/bin/osql|| > ||/usr/bin/tsql|| > ||/usr/bin/bsqldb|| > ||/usr/bin/datacopy|| > ||/usr/bin/fisql|| > ||/usr/bin/tdspool|| > ||/usr/bin/bsqlodbc|| > ||/usr/share|| > ||/usr/share/doc|| > ||/usr/share/doc/freetds-bin|| > ||/usr/share/doc/freetds-bin/changelog.Debian.gz|| > ||/usr/share/doc/freetds-bin/copyright|| > ||/usr/share/doc/freetds-bin/changelog.gz|| > ||/usr/share/man|| > ||/usr/share/man/man1|| > ||/usr/share/man/man1/defncopy.1.gz|| > ||/usr/share/man/man1/tsql.1.gz|| > ||/usr/share/man/man1/osql.1.gz|| > ||/usr/share/man/man1/datacopy.1.gz|| > ||/usr/share/man/man1/bsqldb.1.gz|| > ||/usr/share/man/man1/freebcp.1.gz|| > ||/usr/share/man/man1/fisql.1.gz|| > ||/usr/share/man/man1/bsqlodbc.1.gz|| > | > > So, I guess that a solution would have to do with somehow making > sqlrelay's autoconf configuration/bootstrap files aware of the > '/usr/lib/x86_64-linux-gnu' path.|| > > Thanks. Finally, I patched acsite.m4 to also search in the /usr/lib/[i386|x86_64]-linux-gnu paths used in multiarch debian systems, ran again the autogen.sh script and now configure script finds all the libs. I'm attaching the patch file. Thanks for helping me find out what was going wrong. |