>Description:
I support customers running HP-UX11i with Oracle 8i. They are getting
a Solaris box running mySQL from another provider. I have to interface
to this database from my application (C/C++ and Oracle 8i). I have
successfully installed mySQL on a Solaris box and I am now attempting
to communicate to it from my HP 11i box. In order to avoid logins, I
was hoping to use an Oracle database link to connect to mySQL. To that
end, I went searching for an ODBC mySQL driver. At least I think this
what I need. If I am wrong, please correct me. Anyway, I downloaded
myODBC source because the binaries are not available. It also said I
needed the mySQL distribution to do the compilation, so I downloaded
that as well. Unfortunately, I only saw the 10.20 binaries and that is
what I downloaded. Our 11i machines are running 32 bit executables so
I thought this would not be an issue. When I run
scripts/my_print_defaults, I get this error when it runs mysqld:
Installing all prepared tables
/usr/lib/dld.sl: Can't open shared library:
/my/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/3.1/../../../libgcc_s.sl
/usr/lib/dld.sl: No such file or directory
scripts/mysql_install_db[292]: 8639 Abort(coredump)
Am I mistaken using the 10.20 binaries on 11i. If so, how do I get
11i binaries.
On a different note, is there a different souce for 11i ODBC binaries?
>How-To-Repeat:
>Fix:
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
>MySQL support: none
>Synopsis: trouble installing ODBC/mysql on 11i
>Severity: serious
>Priority: medium
>Category: mysql
>Class: support
>Release: mysql-3.23.52 (Official MySQL binary)
>Environment:
machine, os, target, libraries (multiple lines)>
System: HP-UX shasta B.11.11 U 9000/800 145961547 unlimited-user license
Some paths: /usr/contrib/bin/perl /usr/bin/make /opt/softbench/bin/gcc
/opt/softbench/bin/cc
GCC: /usr/local/bin/gcc -v
gcc: SB error: cannot find exe /usr/local/bin/gcc
Compilation info: CC='gcc' CFLAGS='-DHPUX -I/opt/dce/include -O3' CXX='g++'
CXXFLAGS='-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti -O3
' LDFLAGS=''
LIBC:
lrwxr-xr-x 1 root sys 8 Dec 1 2000 /lib/libc.0 -> ./libc.1
-r-xr-xr-x 1 bin bin 1863680 Nov 14 2000 /lib/libc.1
-r-xr-xr-x 1 bin bin 1740800 Nov 14 2000 /lib/libc.2
-r--r--r-- 1 bin bin 2473300 Nov 14 2000 /lib/libc.a
lrwxr-xr-x 1 root sys 15 Dec 1 2000 /lib/libc.sl ->
/usr/lib/libc.2
lrwxr-xr-x 1 root sys 8 Dec 1 2000 /usr/lib/libc.0 -> ./libc.1
-r-xr-xr-x 1 bin bin 1863680 Nov 14 2000 /usr/lib/libc.1
-r-xr-xr-x 1 bin bin 1740800 Nov 14 2000 /usr/lib/libc.2
-r--r--r-- 1 bin bin 2473300 Nov 14 2000 /usr/lib/libc.a
lrwxr-xr-x 1 root sys 15 Dec 1 2000 /usr/lib/libc.sl ->
/usr/lib/libc.2
Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=Official
MySQL binary' --with-extra-charsets=complex --with-server-suffix=
--enable-thread-safe-client --enable-local-infile --with-pthread
--with-named-thread-libs=-ldce --with-lib-ccflags=-fpic --disable-shared
'CFLAGS=-DHPUX -I/opt/dce/include -O3' 'CXXFLAGS=-DHPUX -I/opt/dce/include
-felide-constructors -fno-exceptions -fno-rtti -O3 ' CXX=g++
Perl: This is perl, version 5.005_02 built for PA-RISC1.1
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php