Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-09

Unit Graph in Linux

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Inpromptu

Hi:

I can't compile a program using GRAPH unit on Linux. The message is :

lfs1:/mnt/d/pascal#fpc relevami.pas
Free Pascal Compiler version 1.0.4 [2001/08/31] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling relevami.pas
. (A lot of "Note: Local Variable etc...")
. (A lot of "Note: Local Variable etc...")
. (A lot of "Note: Local Variable etc...")
Assembling relevamientotopografico
Linking relevami
/usr/bin/ld: cannot find -lvga
relevami.pas(890) Warning: Error while linking
Closing script ppas.sh
2044 Lines compiled, 11.0 sec

What can I do to solve this problem ? When I use RH6.2, the same code compile just fine. The problem is on Debian Potato 2.2r5...

Thanks !
(FreePascal is great !!!)

__________________________________________________________ Download the FREE Opera /download/ Free OperaMail at http://www.operamail.com/ Powered by Outblaze

Reply by email

Unknown author
to Olaf Leidinger
Olaf Leidinger wrote 7 lines
Hi! > Linking relevami > /usr/bin/ld: cannot find -lvga You need to install libvga.so which is included in the svgalib package of your distribution.

This will not be enough. You must install also the development package of svgalib, as it installs a symbolic link from libvga.so.xxx to libvga.so

Michael.

Reply by email

Inpromptu
Show quoted text 12 lines
> Hi! > > > Linking relevami > > /usr/bin/ld: cannot find -lvga > > You need to install libvga.so which is included in the svgalib package > of your distribution. This will not be enough. You must install also the development package of svgalib, as it installs a symbolic link from libvga.so.xxx to libvga.so Michael.

I found all libvga*.* at /usr/lib (my gnu/linux is a Debian 2.2r5 Potato). When I make a symbolic link at /lib/ pointing to /usr/lib/libvga.so.1 everything works fine, and now I can compile my sources...!!

Thanks !!! you help me a lot !!!!!

__________________________________________________________ Download the FREE Opera /download/ Free OperaMail at http://www.operamail.com/ Powered by Outblaze

Reply by email