Operating System - HP-UX
1754160 Members
3301 Online
108811 Solutions
New Discussion юеВ

/usr/lib/dld.sl on HP-UX 11

 
serguey kavafian
Occasional Advisor

/usr/lib/dld.sl on HP-UX 11

When trying to install mysql (binary distribution) I got following:

/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]: 2349 Abort(coredump)

There are following in our /usr/lib directory

#dld.sl
#libdld.1
#libdld.2

Also the binary distribution at www.mysql.com is only for HP-UX 10.20??

What could be the problem?

Thank you
8 REPLIES 8
KapilRaj
Honored Contributor

Re: /usr/lib/dld.sl on HP-UX 11

this sql version is only for hpux 10.20 u need to get a 11.x version. is'nt it clear from the error ?.

kaps
Nothing is impossible
Dirk Wiedemann
Respected Contributor

Re: /usr/lib/dld.sl on HP-UX 11

Hello Serguey,

there is a hpux 11 version of mysql in the HPUX Porting and Archive center. Have a look at
http://hpux.connect.org.uk/hppd/hpux/Development/Languages/mysql-3.23.42/

Dirk
Hartmut Lang
Trusted Contributor

Re: /usr/lib/dld.sl on HP-UX 11

Your mysql-binary was linked against a gcc shared-lib on a HPUX10.20 system. This shared-lib ist not installed on your system (at least not at the expected path /my/gnu/lib/...).

If you have HPUX11.x get a mysql-binary-depot from:
http://hpux.cs.utah.edu/hppd/hpux/Development/Languages/mysql-3.23.42/

This works for me!

Hartmut
H.Merijn Brand (procura
Honored Contributor

Re: /usr/lib/dld.sl on HP-UX 11

Kapil, re-read the error message please.

It's not the dld library that causes the trouble, but the gcc library that it cannot find.

In general, all 10.20 binaries can run on 11.00, provided the requirements are met.

The missing library can be found in the gcc port for 10.20 (https:/www.beepz.com/personal/merijn ), but it would be much easier to just install the 11.00 port of mysql as Dirk suggested
Enjoy, Have FUN! H.Merijn
serguey kavafian
Occasional Advisor

Re: /usr/lib/dld.sl on HP-UX 11

Thank you All!

Will use mysql-binary-depot at hpux.cs.utah.edu. Great source. I previously installed qcc from there.

I have following questions before running swinstall:
1. I would like to change the default installation directory /opt/mysql to
/usr/local/mysql. Is this will change will be recorded in the "mysqlaccess"?
2. Is swininstall will run mysql_install_db?

Thanks again for the prompt answers!
Serguey
Ravi_8
Honored Contributor

Re: /usr/lib/dld.sl on HP-UX 11

Hi,

1)if the change the default installation from /opt/mysql to /usr/local/mysql. it will be not be recorded,
2) while using swinstalling you need to specify the absolute path to mysql_install_db
never give up
Hartmut Lang
Trusted Contributor

Re: /usr/lib/dld.sl on HP-UX 11

1. Changing the default installation path is not something i can recommend. Most of the recompiled software is linked to shared libraries. Some of the shared libraries will be expected at the given installation path.
If you change the installation path, they might not be found by the excutable. (this happened at your original question).
I say:
-stick with the suggested pathes.
- if this does not work for you, recompile by yourself.

2. You have to call mysql_install_db by yourself. This is not done during installation.

Hartmut
Jairo Florez
New Member

Re: /usr/lib/dld.sl on HP-UX 11

the solution is: install gcc 3.2 because it has libgcc_s.sl, the install the new ones