[EMAIL PROTECTED] writes: > I recently attempted to compile a simple Pascal program to make sure > gpc is working. I was surprised to get the error: > > ld: cannot open -lgpc: No such file or directory > > I thought I might have missed installing the libraries so I reinstalled > gpc and the library from dselect. I assume I got all the packages since > I fixed the dependency problems which popped up when I selected gpc. After > installing everything, the same error popped up, how do I get ld to find > the Pascal library?
'dpkg --status gpc' shows: Version: 2.0-3 Depends: libc5, gcc (>= 2.7.2.1-2), gcc (<< 2.7.2.2), libgpc2 'dpkg --listfiles libgpc2' shows /usr/lib/libgpc.so.2.8 /usr/lib/libgpc.so.2 You should have libgpc2 package installed. -- Alair Pereira do Lago <[EMAIL PROTECTED]> <http://www.ime.usp.br/~alair> Computer Science Department -- Universidade de S~ao Paulo -- Brazil -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .