tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Problem compiling mysql  3.23.6 on Digital Unix 4.0E ?
@ 1999-11-25  8:40 maurice.steyvers
  0 siblings, 0 replies; only message in thread
From: maurice.steyvers @ 1999-11-25  8:40 UTC (permalink / raw)
  To: tru64-unix-managers

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 ...
-----------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-25  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-25  8:40 SUMMARY: Problem compiling mysql 3.23.6 on Digital Unix 4.0E ? maurice.steyvers

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