Robert Simmons a écrit :
> Hello All,
>
> Unless I've missed something (which is entirely possible!), when you
> compile MySQL++ on a 64-bit Linux platform the libmysqlpp.so files are
> installed into /usr/local/lib/, or /usr/lib when used with the
> --prefix=/usr option. This is invalid on a typical 64bit system, since
> resulting 64bit applications look for /usr/lib64 normally.
>
> Other than symbolically linking this following configuration, is there
> another command that could be passed to configure to correctly install
> these to begin with?
>
No issue here, but probably because I use the full configure command
./configure --build=x86_64-unknown-linux-gnu \
--host=x86_64-unknown-linux-gnu \
--target=x86_64-redhat-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info
So probably the --libdir option.
> Thanks,
>
> Robert Simmons.
>