From: Paul DuBois Date: April 2 1999 8:30pm Subject: Re: symbols problem with FreeBSD [successful fix] List-Archive: http://lists.mysql.com/mysql/1340 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I ran into the same problem reported by jgauthier below (except that the __deregister_frame_info problem occurred not only or mysqladmin, but also for mysqlimport, mysqldump, etc. -- all clients, apparently *except* for mysql). I tried Monty's suggestion and added --disable-shared, and the problem did indeed go away. (mysql-3.22.20a-gamma, egcs-1.1.2) > Date: 24-Mar-1999 14:16:20 > From: > Subject: symbols problem with FreeBSD (reposted with mysqlbug) > > > >>>>> "jgauthier" == jgauthier <> writes: > > >> Description: > jgauthier> After compiling mysql 3.20.22a on a 3.1-RELEASE FreeBSD box > jgauthier> everything works as expected with one exception: > jgauthier> mysqladmin, when run, gives this output: > jgauthier> /usr/libexec/ld-elf.so.1: >/opt/mysql/lib/mysql/libmysqlclient.so.6.0: > jgauthier> Undefined symbol "__deregister_frame_info" > >> How-To-Repeat: > jgauthier> compile mysql on a freebsd 3.1-release box? > >> Fix: > jgauthier> no idea > > >> Submitter-Id: > >> Originator: Jason Gauthier > >> Organization: > > >> MySQL support: none > >> Synopsis: symbols problem with mysqladmin > >> Severity: serious > >> Priority: high > >> Category: mysql > >> Class: support > >> Release: mysql-3.22.20a (Source distribution) > > >> Environment: > > jgauthier> System: FreeBSD pillage.access.one.net 3.1-RELEASE FreeBSD >3.1-RELEASE #4: Fri Mar 19 13:06:49 GMT 1999 >:/usr/src/sys/compile/PILLAGE i386 > > > jgauthier> Some paths: /usr/bin/perl /usr/local/bin/make >/opt/egcs/bin/gcc /usr/bin/cc > jgauthier> GCC: Reading specs from >/opt/egcs/lib/gcc-lib/i386-unknown-freebsdelf3.1/egcs-2.91.66/specs > jgauthier> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) > jgauthier> Compilation info: CC='gcc' CFLAGS='-O6' CXX='c++' >CXXFLAGS='' LDFLAGS='' > jgauthier> Configure command: ./configure --prefix=/opt/mysql >--with-named-thread-libs=-lc_r --with-low-memory > jgauthier> Perl: This is perl, version 5.005_02 built for i386-freebsd > > Hi! > > My guess is that you have conflict with egcs and shared libraries. > > Try adding '--disable-shared' > > to the configure line! > > Regards, > Monty -- Paul DuBois, paul@stripped Northern League Chronicles: http://www.snake.net/nl/