/usr/bin/ld: cannot find -lvga
Я уже поискал по форумам: оказывается не хватает файла libvga.so
Но /usr/lib/libvga.so.1.4.3 и линк @libvga.so.1 там находятся. Так что надо сделать, чтобы она была найдена в следующий раз?
Модератор: Модераторы
/usr/bin/ld: cannot find -lvga
It is very distribution (and package) dependant.
However, the bottom line is
1) that if FPC says: "can't find -lxxx" then you are missing a libxxx.so file.
Usually that means you have to install the corresponding package
2) A corresponding package sometimes doesn't install libxxx.so, for various
reasons (see below), you can correct this by creating a symlink with
ln -s libthenamethatwasinthepackage.so.123.5235 libnameitshouldbe.so
The reason for (2) is because
- you might want to install multiple versions of this package, and if all
would call the main lib "libxxx.so" this would cause conflicts. This is
solved by appending the .x.y.z versioning to the libxxx.so file
- Some libraries have multiple names. e.g. a lot distributions/OSes call
"libsvga" libvga, and some call "ncurses" curses, all for historical
reasons.
-Fl/user/knoppix
Вернуться в Free Pascal Compiler
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 30