$./tst
./tst: error while loading shared libraries: libvga.so.1: cannot open shared object file: No such file or directory
Better yet, the demos get this same error.
My best guess is that the programs are trying to link to libvga.so.1, when they should be linking to libvga.so or libvga.so.1.4.3 in /usr/local/lib.
What do you think is wrong, and what do I do?
(Enter Gaelic equivalent of "asta la vista")
SVGAlib-- trouble with linking or build... I'm not sure
(Enter Gaelic equivalent of "Hello")
I think it was yesterday that I compiled SVGAlib for about the hundredth time, just I have many times before and never used it.
I wrote and compiled a little test proggie that merely initializes SVGAlib and quits.
gcc -lvga main.cpp -o tst
It compiles, but tst does not run. Here''s the error I get:
Make sure there is a symlink from libvga.so.1 to libvga.so.1.4.3. Also, have you run ldconfig after installing the libraries?
Negative.
As su root...
#cd /usr/local/lib
#ln -s libvga.so.1.4.3 libvga.so.1 &&
>ln -s libvgagl.so.1.4.3 libvgagl.so.1
#ldconfig
And still, the test program fails to run, displaying the exact same error.
Now what?
As su root...
#cd /usr/local/lib
#ln -s libvga.so.1.4.3 libvga.so.1 &&
>ln -s libvgagl.so.1.4.3 libvgagl.so.1
#ldconfig
And still, the test program fails to run, displaying the exact same error.
Now what?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement