Operating System - HP-UX
1834020 Members
3038 Online
110063 Solutions
New Discussion

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

 
Michele fantoni
New Member

Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hello, i have a problem when, after the installation and the start of the daemon, i start mysql client and i receive this message: /usr/lib/dld.sl: Unresolved symbol: pthread_once (code) from /usr/local/lib/lib
gcc_s.sl
Abort(coredump)
N.B. I have previously installed this patch (indicated in install note for hpux11 on www.mysql.com):
PHKL_18543,PHKL_22840,PHNE_22566,PHNE_26771

Can anyone help me?
Michele
6 REPLIES 6
benoit Bruckert
Honored Contributor

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hi Michele,
Always dld !!!
I don't understand something :
this error is linked with the server (mysqld) ?? or with the client (mysql command ) ??
If the server is OK, then it should be more simple... Try to connect to the server from another client to see if it works..
Did you install from sources ? or from depot ??
I installed mysqld from sources on HP-UX and it works ?? (But I had to change makefile !!)
What are the versions of HP-UX (11.00 ? 11i ? ), the tools you used to compile (if from sources !!)
a little more information would be helpfull.
regards
Benoit
________
"Pour celui qui est heureux de vivre, l'essentiel, s'il est content de l'existence qu'il m??ne, est d'??tre satisfait de son sort."
Pierre Dac
Une application mal pansée aboutit à une usine à gaze (GHG)

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hi Michele,

I was also trying to install and runn MySQL from the depots, available at hpux.connect.co.uk but I was getting always, different kind of errors.

What worked for me, is to download the source code (from this site, which is ready to be complied on an HP-UX system) and compile it myself.

I used the following version of:

gcc 3.2
make 3.7.91
ncurses 5.2
zlib 1.1.3
bison 1.35
flex2.5.4a
guile 1.6.0

Just put the path of the zlib shared librarys on the SHLIB_PATH variable, and use gmake instead of make...

hope this helps....
Michele fantoni
New Member

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

The server deamon seems to be ok, it's the client that generate the error.
I installed from depot, and i use HPUX 11.00
If i try to connect from another host, the server answer that the host is not allowed to connect.
Almost one time, I need to configure the access table, so i connect from whatever remote host.
Do you know another downlodable client that run on hpux?

Thanks in advance.
Michele
Mehdi_1
Regular Advisor

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hi Michele

What version of gcc you have on your system?
benoit Bruckert
Honored Contributor

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hi,
Your trouble isn't linked with program default, it's just a question of authentication. You wrote that from the server, it's OK, this mean that the mysql tool is OK also....
What you can do is installing the mysql server also on the client (which include the client), and change the my.cnf file (the client part).
Or simply for test :
mysql -h .
Be careful with restrictions on passwords and host (change the USER table to allow connection from other hosts....) The best way to do it is to read the doc about mysql...

hope that help
Benoit
________
"Quand mon verre est vide, je me plains. Quand mon verre est plein, je le vide."
Raoul Ponchon
Une application mal pansée aboutit à une usine à gaze (GHG)
Massimo_13
New Member

Re: Problem with mysql 3.23.54 on HPUX 11: pthread_once...

Hi Michele,
I have had the same your problem in this week and, after I spend many time on fixing problem that I supposed on dld.sl; I'd ivestigate in other direction : the gcc compiler.
I change my gcc 3.2 downloaded from http://hpux.connect.org.uk
with gcc 3.2 downloaded from http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,4682,00.html
and so I resolved my problem.
I suppose that one is compiled on pa-risc2.0 while I use a pa-risc1.1.

I hope that my solution will be your solution !

Many regards.
Massimo