FTBFS with libtool 2.2

Bug #270687 reported by Luca Falavigna on 2008-09-15
2
Affects Status Importance Assigned to Milestone
myodbc (Ubuntu)
High
Unassigned

Bug Description

 affects ubuntu/myodbc
 status confirmed
 importance high

make[2]: Entering directory `/tmp/buildd/myodbc-3.51.15r409/test'
if gcc -DHAVE_CONFIG_H -I. -I. -I../driver -I../test/include
-D_REENTRANT -D_GNU_SOURCE -I/usr/include -O3 -DDBUG_OFF
-I/usr/include/mysql -DBIG_JOINS=1 -fPIC -g -Wall -O2 -MT my_basics.o
-MD -MP -MF ".deps/my_basics.Tpo" -c -o my_basics.o my_basics.c; \
 then mv -f ".deps/my_basics.Tpo" ".deps/my_basics.Po"; else rm -f
".deps/my_basics.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -O3 -DDBUG_OFF
-I/usr/include/mysql -DBIG_JOINS=1 -fPIC -g -Wall -O2
../driver/libmyodbc3_r.la -Wl,-Bsymbolic-functions -o my_basics
my_basics.o -lz -L/usr/lib -lodbcinst
mkdir .libs

*** Warning: Linking the executable my_basics against the loadable module
*** libmyodbc3_r.so is not portable!
gcc -O3 -DDBUG_OFF -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -g -Wall -O2
-Wl,-Bsymbolic-functions -o .libs/my_basics my_basics.o
../driver/.libs/libmyodbc3_r.so -L/usr/lib -L/usr/lib/mysql
/usr/lib/libmysqlclient_r.so -lcrypt -lnsl -lm -lz
/usr/lib/libodbcinst.so /usr/lib/libltdl.so -ldl -lpthread -Wl,--rpath
-Wl,/usr/lib
../driver/.libs/libmyodbc3_r.so: undefined reference to
`mysql_odbc_escape_string'
collect2: ld returned 1 exit status
make[2]: *** [my_basics] Error 1
make[2]: Leaving directory `/tmp/buildd/myodbc-3.51.15r409/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/myodbc-3.51.15r409'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Related branches

Luca Falavigna (dktrkranz) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package myodbc - 3.51.15r409-4ubuntu1

---------------
myodbc (3.51.15r409-4ubuntu1) intrepid; urgency=low

  * driver/execute.c: backport a fix from new upstream version to allow
    compilation against new MySQL (LP: #270687).

 -- Luca Falavigna <email address hidden> Sat, 11 Oct 2008 12:08:12 +0200

Changed in myodbc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers