From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079085416430.tru64-unix-managers.marc@archive.invalid> From: maurice.steyvers () ICA ! UNIMAAS ! NL Date: Thu, 25 Nov 1999 08:40:57 +0000 To: tru64-unix-managers Subject: SUMMARY: Problem compiling mysql 3.23.6 on Digital Unix 4.0E ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079085416430 The tip that did it came from Gustavo Zacarias 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@ICA.UNIMAAS.NL > [mailto:maurice.steyvers@ICA.UNIMAAS.NL] > Sent: 24/11/99 13:29 > To: tru64-unix-managers@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@ica.unimaas.nl phone :(++ 31 43) 388 23 49 Fax :(++ 31 43) 361 42 87 _______________________________________________ ----------------------------------------------- system failure ... hit any user to continue ... -----------------------------------------------