php-install Digest 9 Mar 2002 17:00:56 -0000 Issue 736
Topics (messages 6296 through 6300):
Problem compiling php 4.1.2, help, anyone?
6296 by: Mikael Ratshinskij
6299 by: Mikael Ratshinskij
Re: OCI8 Help.
6297 by: Thies C. Arntzen
gd-library on windows ...
6298 by: Marcel Besancon
cannot load MySQL extension,
6300 by: John Thorne
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I' compiling withs this conf:
./configure --prefix=/usr --with-config-file-path=/etc --with-apxs
--with-exec-dir=/usr/bin --with-mysql=/usr --with-gd --with-
mnogosearch=/usr/local/mnogosearch --with-xml --enable-gd-native-ttf
And most of the "make" procedure goes fine, but after a while its starts
giving warnings like his:
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
definition of `mysql_port'
ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/mysql/
libmysql/libmysql.c:111: first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple
definition of `mysql_unix_port'
ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/mysql/
libmysql/libmysql.c:111: first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o): In function `mysql_debug':
libmysql.o(.text+0x710): multiple definition of `mysql_debug'
ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/mysql/
libmysql/libmysql.c:560: first defined here
... and finally ends like this
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/mike/misc/php-4.1.2'
make: *** [all-recursive] Error 1
Any ideas?
Mikael Ratschinskij
Internet-tiedottaja / Internet Information Coordinator
Jyväskylän kaupunki / City of Jyväskylä, Finland
PL 193, 40101 Jyväskylä / PO Box 193, FIN-40101Jyväskylä
http://www.jyvaskyla.fi
puh (014) 624382
Kiireellisissä asioissa matkapuhelimeeni pääsee soittamalla kaupungin
verkosta 2194
--- End Message ---
--- Begin Message ---
On Saturday, February 9, 2002, at 01:47 PM, Mikael Ratshinskij wrote:
> Already tried that, thanks, but... still the same problem.
> PHP4.0.6 compiles ok, though... Maybe it's got something to do with
> program versions?
> BTW, I'm running RedHat 7.1...
>
> Mike
>
> On Saturday, March 9, 2002, at 01:43 PM, Andrey Hristov wrote:
>
>> PHP4 has its own version of libmysql. If you are not using MySQL4 then
>> try
>> --with-mysql instead of --with-mysql=/usr
>>
>> Best regards,
>> Andrey Hristov
>>
>> On Saturday 09 February 2002 11:32 am, you wrote:
>>> I' compiling withs this conf:
>>> ./configure --prefix=/usr --with-config-file-path=/etc --with-apxs
>>> --with-exec-dir=/usr/bin --with-mysql=/usr --with-gd --with-
>>> mnogosearch=/usr/local/mnogosearch --with-xml --enable-gd-native-ttf
>>>
>>> And most of the "make" procedure goes fine, but after a while its
>>> starts
>>> giving warnings like his:
>>>
>>> /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
>>> definition of `mysql_port'
>>> ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/
>>> mysq
>>> l/ libmysql/libmysql.c:111: first defined here
>>> /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple
>>> definition of `mysql_unix_port'
>>> ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/
>>> mysq
>>> l/ libmysql/libmysql.c:111: first defined here
>>> /usr/lib/mysql/libmysqlclient.a(libmysql.o): In function
>>> `mysql_debug':
>>> libmysql.o(.text+0x710): multiple definition of `mysql_debug'
>>> ext/mysql/.libs/libmysql.al(libmysql.lo):/home/mike/misc/php-4.1.2/ext/
>>> mysq
>>> l/ libmysql/libmysql.c:560: first defined here
>>>
>>>
>>>
>>> ... and finally ends like this
>>>
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [libphp4.la] Error 1
>>> make[1]: Leaving directory `/home/mike/misc/php-4.1.2'
>>> make: *** [all-recursive] Error 1
>>>
>>>
>>> Any ideas?
>>>
>>>
>>> Mikael Ratschinskij
>>> Internet-tiedottaja / Internet Information Coordinator
>>> Jyväskylän kaupunki / City of Jyväskylä, Finland
>>> PL 193, 40101 Jyväskylä / PO Box 193, FIN-40101Jyväskylä
>>> http://www.jyvaskyla.fi
>>> puh (014) 624382
>>> Kiireellisissä asioissa matkapuhelimeeni pääsee soittamalla kaupungin
>>> verkosta 2194
>>
>>
Mikael Ratschinskij
Internet-tiedottaja / Internet Information Coordinator
Jyväskylän kaupunki / City of Jyväskylä, Finland
PL 193, 40101 Jyväskylä / PO Box 193, FIN-40101Jyväskylä
http://www.jyvaskyla.fi
puh (014) 624382
Kiireellisissä asioissa matkapuhelimeeni pääsee soittamalla kaupungin
verkosta 2194
>
--- End Message ---
--- Begin Message ---
On Fri, Mar 08, 2002 at 08:13:05AM -0500, Scott Stroz wrote:
> I need to use PHP 4.1.2 running on Red Hat 7.2 to access an Oracle 8.17
> database running on a Windows 2000 box. I have read numerous posts,
> articles, etc... stating that I need the oci8 libraries to accomplish this.
> However, I could not find any references to where I might actually locate
> these libraries.
>
> Can anyone offer any help?
you need to dl and install oracle on the redhat maschine.
see http://www.idevelopment.info/ how to do that
tc
--- End Message ---
--- Begin Message ---
Hi everybody,
i'm want to use windows for developing PHP-Scripts. Now here's my
problem. Is there any way to use the gd-library under windows? Or where do I
put the gd.dll. I tried many directories but none of them worked (Though
some of them have been written to the php.ini as include-directory !!!)
I hope this question isn't to stupid for all of you. Any hint can be useful
THX
Marcel
--
registered Fli4l-User #00000388
--- End Message ---
--- Begin Message ---
New Linux Apache/php/mysql user
When trying to use phpmysqladmin I get an error
cannot load MySQL extension,
please check PHP Configuration
I can work with mysql, create tables etc
I can display a phpinfo page
What to I look for in the pho.ini file ??
thanks
jrt
--- End Message ---