swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Error in compiling SWFTools :(


From: Sandeep Singh
Subject: Re: [Swftools-common] Error in compiling SWFTools :(
Date: Mon, 29 Nov 2010 16:13:40 +0530

Hi,

I wasn't having jpeglib. Now when i installed it. Its giving following error while linking swftools

 error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

i checked my /usr/lib directory then it was listed there. Below is wht list command returned:

sh-3.2# ls -l /usr/lib/*jpeg*
-rw-r--r--       1 root root 1757802 Nov 29 08:48 /usr/lib/libjpeg.a
-rwxr-xr-x    1 root root     914    Nov 29 08:48 /usr/lib/libjpeg.la
lrwxrwxrwx 1 root root      16    Nov 29 08:48 /usr/lib/libjpeg.so -> libjpeg.so.8.0.2
lrwxrwxrwx 1 root root      16    Nov 29 08:48 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.2
-rwxr-xr-x     1 root root  967962 Nov 29 08:48 /usr/lib/libjpeg.so.8.0.2
sh-3.2#

Can anyone have any suggestions or ideas for compiling swftools?
Does i m doing something wrong :(

Also  i figured it out, the system, i m installing swftools on, is virtual machine on fedora xen.

Plz help !!
Sandeep Singh


On Mon, Nov 29, 2010 at 4:09 AM, Chris <address@hidden> wrote:
On Sun, 28 Nov 2010 22:21:03 +0530
Sandeep Singh <address@hidden> wrote:

> Hi All,
>
> I am having problems in compiling SWFTools.
> First it was giving error for declaration mismatch for some function in
> jpeg.c / jpeg.h file When i fixed tht now its giving following linker error.
>
> gcc -DHAVE_CONFIG_H swfrender.o -o swfrender ../lib/libgfxswf.a
> ../lib/librfxswf.a ../lib/libgfx.a ../lib/libbase.a -L/usr/local/lib -lz
> -lm
> ../lib/libgfx.a(gfxfont.o): In function `gfxfont_free':
> gfxfont.c:(.text+0x7c0): undefined reference to `glyph_clear'
> collect2: ld returned 1 exit status
> make[1]: *** [swfrender] Error 1
> make[1]: Leaving directory `/swftools-0.9.1/src'
> make: *** [all] Error 2
>
> Can someone help me out ?

Appears like you have some missing libraries?  For instance,

 http://mgarland.org/files/dist/libgfx-1.1.0-doc/build.html

What flavour of Linux are you using, exactly?  Most have package management
system that will allow you to update.

HTH.

Regards,




Chris.



--
<address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]