Subject Re: [firebird-support] LD_ASSUME_KERNEL= 2.2.5
Author Alexandre Benson Smith
Mike Dewhirst wrote:

>Alexandre Benson Smith wrote:
>
>
>>Mike Dewhirst wrote:
>>
>>
>>
>>
>>>Can anyone tell me please if a Linux environment variable
>>>LD_ASSUME_KERNEL=2.2.5 is needed for Firebird?
>>>
>>>It might be interfering with my Subversion repositories and need to be
>>>changed. I don't want to spoil Firebird on the same machine. I'm running
>>>SuSE 9.1 Pro installed out of the box. I'm a Linux newby.
>>>
>>>Thanks
>>>
>>>Mike
>>>
>>>
>>>
>>>
>>Mike,
>>
>>Run the NPTL build.
>>
>>
>
>Thanks Alexandre.
>
>I should have said I have FB SS 1.5.2.4731-0 installed on SuSE 9.1
>
>
I am no a Suse user, so I might ask if Suse 9.1 uses 2.6 Kernel, right ?

>NTPL means Native Posix Thread Library. What does Native Posix Thread
>Library mean in the context of LD_ASSUME_KERNEL=2.2.5?
>
>
IIRC LD_ASSUME_KERNEL should be used to run non NPTL Firebird build on
NPTL linux systems.

If it's not the case I think that will not hurt to remove this
enviroment variable.

>As it happens I have researched this until my brain hurts. I have a
>different problem which I believe has nothing to do with Firebird and
>for which I have been advised to remove LD_ASSUME_KERNEL=2.2.5 from my
>environment vars. My question is related to the potential consequences
>to my Firebird installation if I do that.
>Regards
>
>
>
I think it is on the release notes, but as I am lazy to search in wich
release notes it is.. I did a quick google search and found this:

* *NTPL problems on higher Linuxen: *The new NPTL (Native POSIX
Thread Library) in Red Hat 9 (so far) will cause problems for
SuperServer and locally compiled programs, including the
utilities. Gbak, particularly, will throw a Broken Pipe error. To fix:

1. in /etc/init.d/firebird
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL

That takes care of the server instance. You need to have the
environment variable set up within the local environment as
well, so:
2. Add the following to /etc/profile, to ensure every user
picks it up for the command line utilities.
after
HISTSIZE=1000
add
LD_ASSUME_KERNEL=2.25

On the following line, export it:

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUT_RC
LD_ASSUME_KERNEL


>Mike
>
>
HTH

see you !

--

Alexandre Benson Smith
Development
THOR Software e Comercial Ltda.
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 04/08/2005