LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2005, 07:03 AM   #1
victorhooi
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Compiling Evas (E17) - /usr/bin/ld: cannot find -lvga


heya,

I'm having some trouble compiling Evas (latest CVS, 2005-10-19) on a computer at my uin. The OS used is Redhat 9 (Shrike), GCC is version 3.2.2-5, and glibc is 2.3.2.

I'm compiling in the /tmp directory (since that's one of the few directories I have write-access to, and it doesn't have a quota), which I"ll then copy to my home directory and (hopefully) run.

Error message:
Code:
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_gl_x11.a/evas_x_main.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine_ximage.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine_xrender.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine_image.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine_font.o
: .libs/libevas.a
ar cq .libs/libevas.a .libs/libevas.lax/libevas_engine_xrender_x11.a/evas_engine_gradient.o
ranlib .libs/libevas.a
rm -fr .libs/libevas.lax
creating libevas.la
(cd .libs && rm -f libevas.la && ln -s ../libevas.la libevas.la)
make[4]: Leaving directory `/tmp/e17/libs/evas/src/lib'
make[3]: Leaving directory `/tmp/e17/libs/evas/src/lib'
Making all in bin
make[3]: Entering directory `/tmp/e17/libs/evas/src/bin'
Making all in evas_software_win32
make[4]: Entering directory `/tmp/e17/libs/evas/src/bin/evas_software_win32'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/e17/libs/evas/src/bin/evas_software_win32'
make[4]: Entering directory `/tmp/e17/libs/evas/src/bin'
source='evas_test_main.c' object='evas_software_x11_test-evas_test_main.o' libtool=no \
depfile='.deps/evas_software_x11_test-evas_test_main.Po' tmpdepfile='.deps/evas_software_x11_test-evas_test_main.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../src/lib -I../.. -I/usr/include   -g -O2 -I/usr/X11R6/include -g -O2 -c -o evas_software_x11_test-evas_test_main.o `test -f 'evas_test_main.c' || echo './'`evas_test_main.c
source='evas_software_x11_main.c' object='evas_software_x11_test-evas_software_x11_main.o' libtool=no \
depfile='.deps/evas_software_x11_test-evas_software_x11_main.Po' tmpdepfile='.deps/evas_software_x11_test-evas_software_x11_main.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../src/lib -I../.. -I/usr/include   -g -O2 -I/usr/X11R6/include -g -O2 -c -o evas_software_x11_test-evas_software_x11_main.o `test -f 'evas_software_x11_main.c' || echo './'`evas_software_x11_main.c
/bin/sh ../../libtool --mode=link gcc  -g -O2   -o evas_software_x11_test  evas_software_x11_test-evas_test_main.o evas_software_x11_test-evas_software_x11_main.o ../../src/lib/libevas.la -lm -L/usr/X11R6/lib -lX11 -lXext -lX11 -lXext -lXrender 
mkdir .libs
gcc -g -O2 -o .libs/evas_software_x11_test evas_software_x11_test-evas_test_main.o evas_software_x11_test-evas_software_x11_main.o  ../../src/lib/.libs/libevas.so -L/usr/local/lib /usr/local/lib/libfreetype.so -lpng -L/tmp/e17_victor/lib /tmp/e17_victor/lib/libeet.so /usr/lib/libjpeg.so /tmp/e17_victor/lib/libedb.so -lz -L/usr/X11R6/lib /usr/local/lib/libGL.so -lvga -lSM -lICE -lXmu -lXi /usr/local/lib/libGLU.so -lpthread -lm -lX11 -lXext -lXrender -Wl,--rpath -Wl,/tmp/e17_victor/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lvga
collect2: ld returned 1 exit status
make[4]: *** [evas_software_x11_test] Error 1
make[4]: Leaving directory `/tmp/e17/libs/evas/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/e17/libs/evas/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/e17/libs/evas/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/e17/libs/evas'
make: *** [all] Error 2
/tmp/e17/libs/evas [congo2]: cat /etc/redhat-release
I actually have no idea what this vga library is, and any help would be greatly appreciated.

(As a sidenote, would it be possible to somehow compile these packages on my home computer, and copy them to the uni computer. Will I need *exactly* the same version of gcc, glibc, and all other libraries? That would be a pain, and even if I do install RH9, I don't think I would know what updates they might've applied. Any other alternatives?)

Thanks,
Victor
 
Old 10-20-2005, 04:33 PM   #2
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
This is svgalib. Try a 'locate libvga' to see if you have it installed. svgalib will usually be in /usr/lib, which suggests that you may not.

As for running apps compiled on one box on a different box, this shouldn't be a problem, provided you have all the necessary libraries.
They don't have to be exactly the same version (though they need to be compatible, i.e. not a different major version; a minor version or patch level change is usually OK, unless an app uses some specific new feature). Just try it and see. It'll tell you if there are missing libraries. Use 'ldd <file>' to see what libraries/versions it needs and if they are available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
/usr/bin/ld: cannot find -lselinux masand Linux - Software 6 09-03-2004 06:19 AM
/usr/bin/ld: cannot find -lc aa2bi Linux - Newbie 2 06-09-2004 06:32 AM
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg qanopus Linux - Software 1 12-21-2003 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration