Re: Compiling PHP with SWF support under FreeBSD
| From: | brad mccrorey | Date: | Mon, 08 Jan 2001 13:08:06 +0000 |
| Subject: | Re: Compiling PHP with SWF support under FreeBSD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33216@lists.php.net to get a copy of this message | ||
I'm certainly no expert, but this reminds me of when I had to compile
in freetsd support the other day.
The reason why I needed that is a whole other story. =)
Anyhow, after running ./configure and make and make install on the
source for the libraries i had to do this:
1) put the path where the libraries where installed in /etc/ld.so.conf
2) run ldconfig
I have NO Idea if this is relevant to your problem, and this was on a
linux box, so I don't even know if ldconfig exists on your platform.
but, it sounds right.
according to the man page for ldconfig it:
"
creates the necessary links and cache (for use by the run-time linker, ld.so)
to the most recent shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf,
"
anyhow, thought I'd throw my two bobs worth in
Good luck!
Cheers,
Brad
On Mon, 08 Jan 2001, Arcady Genkin wrote: > I've downloaded the libswf
from http://reality.sgi.com/grafica/flash/ >
and placed the .a and .h
files into /usr/local/libswf/lib and > /usr/local/libswf/include.
When compiling php 4.0.4 with > --with-swf=/usr/local/libswf the
compilation gives me: >
> *** Warning: This library needs some functionality provided by -lswf.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This library needs some functionality provided by -lswf.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
>
> What exactly does this mean in simpler terms? What is the solution to
> the problem? Could it be because the library is compiled for FreeBSD
> 2.2.8, and I'm running 4.2-STABLE?
>
> Many thanks,
> --
> Arcady Genkin
> Don't read everything you believe.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net