Makefile for lib64 libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I have just upgraded to 64-bit Fedora, and have a mysql appliation where
the build fails with:

/usr/bin/ld: cannot find -lmysqlclient

I know that this is because the library is in lib64, and my

bin_PROGRAMS = scraperes
scraperes_SOURCES = main.cpp ...
AM_CPPFLAGS = -I/usr/include/mysql
AM_LDFLAGS = -L/usr/lib/mysql -lmysqlclient

I know I can edit this to have lib64, but what can I do to make it work
for both 64-bit and 32-bit operating systems?


//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 19:59:42 up 28 days,  1:16,  2 users,  load average: 0.11, 0.10, 0.09

Attachment: pgpyDmnZAHWMj.pgp
Description: PGP signature

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux