Hi,
I had a similar problem while compiling the Msql-MySQL perl module for
HP-UX 11.00. In the end I (apparently) solved it by running the configure, then
editing the Makefile in libmysql (and libmysql_r), and adding "-fpic" to the
"CFLAGS=" and "CXXFLAGS=" lines.
Hope this helps.
Jack Challen
Technical Consultant
OCSL
Varvarigos Harry wrote:
>
> Is there some kind soul out there that can email me a
> tarball og the MySQL module for an HP-UX machine? I've tried to compile the
> module - but it says that I have to compile MySQL with +z or +Z, gcc
> doesn't have a +z or +Z ( and mysql should be compiled with gcc ) but it
> does have an -fPIC and -FPIC, which matters all the same to the compilation
> of the MySQL module:
>
> The error is:
> LD_RUN_PATH="/opt/mysql/lib:/lib/pa1.1" ld -o
> ./blib/arch/auto/DBD/mysql/mysql.sl -b -L/usr/local/lib dbdimp.o mysql.o
> -L/opt/mysql/lib -L/opt/mysql/lib -lmysqlclient -lm
> ld: DP relative code in file /opt/mysql/lib/libmysqlclient.a(libmysql.o) -
> shared library must be position
> independent. Use +z or +Z to recompile.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
<snip>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php