SUMMARY: Problem compiling mysql 3.23.6 on Digital Unix 4.0E ?

From: <maurice.steyvers_at_ICA.UNIMAAS.NL>
Date: Thu, 25 Nov 1999 09:40:57 +0100

The tip that did it came from Gustavo Zacarias <gustavo_at_movi.com.ar> and is:

Try editing ltconfig in the base source directory of Mysql, find the
following...

        osf3* | osf4*)
        # All OSF/1 code is PIC.
        wl='-Wl,'
        link_static_flag='-non_shared'
        ;;

And comment out the "wl" stuff, ending up in ... #wl='-Wl,'
That should do it. Of course you'll have to re "./configure" it to
work... :-)


Orginal question below:

> -----Original Message-----
> From: maurice.steyvers_at_ICA.UNIMAAS.NL
> [mailto:maurice.steyvers_at_ICA.UNIMAAS.NL]
> Sent: 24/11/99 13:29
> To: tru64-unix-managers_at_ornl.gov
> Subject: Problem compiling mysql 3.23.6 on Digital Unix 4.0E ?
>
>
> I'm having problems compiling Mysql 3.23.6 (and also 3.22
> versions that use
> C++ compiler)
> on DU 4.0E.
> I've installed "Compaq C++ V6.2-024 for Digital UNIX V4.0E
> (Rev. 1091)" for
> the purpose
> of compiling mysql and i'm no C++ expert at all.
> I've used "./configure --with-named-thread-libs="-lpthread
> -lmach -lexc -lc"
> " as stated
> in the docs. Things go wrong during the "make" fase.
>
>
> The error i get is:
> ------------
> /bin/sh ../libtool --mode=link cxx -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=
> 64 -O3 -DDBUG_OFF -o mysql mysql.o readline.o sql_string.o
> completion_hash.o ../readline/libre
> adline.a -lcurses libmysqlclient.la -lm
> cxx -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -O3
> -DDBUG_OFF -o .libs/mysql
> mysql.o readline.o sql_string.o completion_hash.o
> ../readline/libreadline.a
> -lcurses .libs/libmys
> qlclient.so -lm -lm -Wl,-rpath -Wl,/usr/local/lib/mysql
> ld (prelink):
> Object file format error in: /usr/local/lib/mysql:
> read_cur_obj_info: File
> is not a regular file
> ld:
> Object file format error in: /usr/local/lib/mysql:
> read_cur_obj_info: File
> is not a regular file
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> -----------
>
> Since i'm stuck now any help would be appreciated.
> Maurice
>
>
> ______________________________________________
>
> Maurice Steyvers, ICA, Universiteit Maastricht
>
mailto:maurice.steyvers_at_ica.unimaas.nl
phone :(++ 31 43) 388 23 49
Fax :(++ 31 43) 361 42 87
_______________________________________________

-----------------------------------------------
system failure ... hit any user to continue ...
-----------------------------------------------
Received on Thu Nov 25 1999 - 08:43:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT