tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: maurice.steyvers () ICA ! UNIMAAS ! NL
To: tru64-unix-managers
Subject: SUMMARY: Problem compiling mysql  3.23.6 on Digital Unix 4.0E ?
Date: Thu, 25 Nov 1999 08:40:57 +0000	[thread overview]
Message-ID: <96079085416430.tru64-unix-managers.marc@archive.invalid> (raw)

The tip that did it came from Gustavo Zacarias <gustavo@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@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 ...
-----------------------------------------------

                 reply	other threads:[~1999-11-25  8:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox