[ts-gen] /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
R P Herrold
herrold at owlriver.com
Wed Dec 26 12:07:37 EST 2007
On Mon, 24 Dec 2007, R P Herrold wrote:
> Probably the easiest way to patch this is thus:
>
> sed -i -e 's at -L/usr/lib/mysql at -L/usr/lib64/mysql -L/usr/lib/mysql at g' \
> Makefile
Back at the office after the Holiday, and looking at my code,
it seems that my patch and building script is a bit finer tool
-- it FIRST looks to the architecture and THEN does the sed to
patch only if needed:
...
# /usr/lib64/mysql
X86_64=`uname -p`
[ "xx86_64" = "x$X86_64" ] && {
sed -i -e 's at -L/usr/lib/mysql at -L/usr/lib64/mysql at g' $BAS/Makefile
}
...
-- Russ Herrold
More information about the ts-general
mailing list