Lukasz wrote:
>>> I have a problem with configuration PHP on server linux which is
>>> connected with distant server pervasive 8.5(novell). Connection odbc work
>>> without problems isql myDSN , Connected!
>>> I added in php.ini file correct "extension" as well as "extension_dir"
>>> but mistake appears when I was trying to initiate connection to base
>>> pervasive with level PHP.
>>> code which executes
>>> $ con = odbc_connect(myDSN, "", "") or die(odbc_errormsg() );
>>> mistake displays :
>>> [unixODBC][Driver Manager]Can't open lib "/ usr / lib / php5 / extensions
>>> / odbcci.so " : libpscore.so.1: cannot open shared object file: Just such
>>> file or directory
>>> I do not understand this message because the files are in this location.
>>> I hope you will answer as soon as possible.
>>>
>>> I greet
>>> Łukasz Kos
>> Where is your libpscore.so? Is it in a directory accessible to PHP?
>>
>> --
> Yes of course.
>
> Order :
> ldd /usr/lib/php5/extensions/libpscore.so.1
> linux-gate.so.1 => (0xffffe000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb7ecb000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7ec7000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ebc000)
> libc.so.6 => /lib/libc.so.6 (0xb7d9c000)
> /lib/ld-linux.so.2 (0x80000000)
>
>
> file linux-gate.so.1 does not exist on disc, It could be the reason of the
> problem ?
>
>
>
Definitely. PHP can't load the module if one of the modules it requires
doesn't exist.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================