Click to See Complete Forum and Search --> : can't create dynamic libphp4, only static!


maard
10-14-2002, 09:43 AM
Hi, php guru!

I tried to recompile my php for interbase support and encountered this error. When I executed

./configure --with-interbase=/opt/interbase

and then make, I get libphp4.a compiled, but I need libphp4.so!
Then I try to add --with-apxs to ./configure and during 'make' I receive the following error:

Making all in .
make[1]: Enter into /root/tmp/php-4.2.3'
...a long line...
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Exit from `/root/tmp/php-4.2.3'
make: *** [all-recursive] Error 1

What am I doing wrong or what file or set of files are missing?
Because I'm doing everything according to INSTALL (and forum replies), but still without any success.

Regards,
Maxim

largo
10-14-2002, 11:50 AM
delete stub.lo and configure again.

hth,
-m.

maard
10-14-2002, 12:20 PM
I tried deleting stub.lo, but make now generates this, and stub.lo is created again:

main/.libs/libmain.al: object main/.libs/libmain.al(main.lo) in archive is not object
collect2: ld returned 1 exit status
...error 1, etc...

Suggestions?

largo
10-14-2002, 12:40 PM
http://bugs.php.net/bug.php?id=15121 :rolleyes: