From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,9bfa5495ce51e673 X-Google-Attributes: gid111c93,public From: Hannes Loeffler Subject: Re: DU4 on Linux libpthread problem . Date: 1999/11/25 Message-ID: #1/1 X-Deja-AN: 552905058 Sender: hal@tci005.uibk.ac.at References: Content-Type: text/plain; charset=US-ASCII X-Trace: 25 Nov 1999 13:50:00 +0100, tci005.uibk.ac.at Organization: University of Innsbruck - Institute of General, Inorganic and Theoretical Chemistry Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.os.linux.alpha marbud@dimension.se writes: > I read all the available FAQ's and HOWTO's and now I'm stuck. > > [...] > No problem. The Alpha FAQ says: > > > "17.5 Threads > > When you receive errors that mention DECthreads you need to do > the following: > > (re)move libpthread.so and libpthreads.so from the shared > library directory > > ln -sf /usr/shlib/libc.so /usr/shlib/libpthread.so > ln -sf /usr/shlib/libc.so /usr/shlib/libpthreads.so > > This problem is known to occur with recent Netscapes and with > Adobe Acrobat 3." The versions of Netscape I used so far were never linked with any of these two libs. (IIRC I started with 3.01, now I have 4.6 and 4.7) > After this fix. I get the following, and now I'm stuck without any more > ideas. > > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_attr_create > Error: Unresolved symbol in /../abaqus/bin/standard.x: > pthread_attr_getstacksize > Error: Unresolved symbol in /../abaqus/bin/standard.x: > pthread_attr_setstacksize > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_mutex_init > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_cond_init > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_create > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_mutex_lock > Error: Unresolved symbol in /../abaqus/bin/standard.x: > pthread_cond_broadcast > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_mutex_unlock > Error: Unresolved symbol in /../abaqus/bin/standard.x: pthread_cond_wait > Fatal Error: this executable has unresolvable symbols > > Obviously the result of the "fix" from the Alpha FAQ. I use the libc from DU 4.0D and this version does not seem to include any pthread functionality. (Why should it? There are libpthread and libpthreads) As an aside, libpthread asks (AFAIK) the kernel for a proper license. Hannes.