* * *

Author Topic: Linker errors  (Read 608 times)

segfault

  • New member
  • *
  • Posts: 29
Linker errors
« on: May 22, 2017, 06:29:01 pm »
Hi,

I'm using FP 3.0.2 on a Linux 32 bit system (Debian based distro) and am getting errors when trying to compile a program which calls the ptcgraph unit, which I found out about on the Wiki (http://wiki.freepascal.org/ptc). They are:

/usr/bin/ld: cannot find -lXxf86vm
/usr/bin/ld: cannot find -lXxf86dga

I'm pretty new to Linux but assume these are telling me that I'm missing some libraries. I know how to use apt-get but what are the exact names of the libraries? Google hasn't been much help. Thanks in advance for any help and sorry for being such a noob.  :D

Handoko

  • Hero Member
  • *****
  • Posts: 1791
  • My goal: build my own game engine using Lazarus
Re: Linker errors
« Reply #1 on: May 22, 2017, 06:46:10 pm »
For Linux users, I suggest you to use Synaptic Package Manager. It will help you search and install libraries easily.

I checked my Ubuntu Mate using Synaptic and I found I have these installed (by default):

- libxxf86vm-dev
- libxxf86vm1
- libxxf86vm1: 386

segfault

  • New member
  • *
  • Posts: 29
Re: Linker errors
« Reply #2 on: May 22, 2017, 06:50:45 pm »
Hi Handoko,

Many thanks, problem solved.  :)

Handoko

  • Hero Member
  • *****
  • Posts: 1791
  • My goal: build my own game engine using Lazarus
Re: Linker errors
« Reply #3 on: May 22, 2017, 06:56:23 pm »
Glad to hear it is solved.

We always can find something new to learn in this forum.
Enjoy your stay and have fun.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus