LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2003, 08:37 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ld: cannot find -ldnet


Hi guys.

im a newb, but this seemed a little too complicated for the newb section, hope no1 minds.

anyway.

ive tried to install plib, (portable game library)
and the configure scrit complained about openGl not being installed (which i know it is ! + all the devel packages too {not using messa using nvidia)

i examined the config log, and found the first error was

ld: cannot find -ldnet

and im pretty sure this is whats causing the error to report later in the script.

anyway, could this be the case ?
and how / what do i need to fix this -ldnet problem ???

thanX

(ohh, ive already searched google, and found nothing, and there seems to be nothing in the archive answers of this site, seems im having a unique problem )


***The config log (just incase it helps )

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:581: checking for a BSD compatible install
configure:634: checking whether build environment is sane
configure:691: checking whether make sets ${MAKE}
configure:737: checking for working aclocal
configure:750: checking for working autoconf
configure:763: checking for working automake
configure:776: checking for working autoheader
configure:789: checking for working makeinfo
configure:823: checking for gcc
configure:936: checking whether the C compiler (gcc ) works
configure:952: gcc -o conftest conftest.c 1>&5
configure:978: checking whether the C compiler (gcc ) is a cross-compiler
configure:983: checking whether we are using GNU C
configure:992: gcc -E conftest.c
configure:1011: checking whether gcc accepts -g
configure:1043: checking how to run the C preprocessor
configure:1064: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1127: checking for c++
configure:1159: checking whether the C++ compiler (c++ ) works
configure:1175: c++ -o conftest conftest.C 1>&5
configure:1201: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:1206: checking whether we are using GNU C++
configure:1215: c++ -E conftest.C
configure:1234: checking whether c++ accepts -g
configure:1266: checking how to run the C++ preprocessor
configure:1284: c++ -E conftest.C >/dev/null 2>conftest.out
configure:1320: checking for a BSD compatible install
configure:1375: checking for ranlib
configure:1705: checking host system type
configure:1759: checking for X
configure:2073: checking for dnet_ntoa in -ldnet
configure:2092: gcc -o conftest -g -O2 conftest.c -ldnet 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2081 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2114: checking for dnet_ntoa in -ldnet_stub
configure:2133: gcc -o conftest -g -O2 conftest.c -ldnet_stub 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2122 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2162: checking for gethostbyname
configure:2190: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2260: checking for connect
configure:2288: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2352: checking for remove
configure:2380: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2444: checking for shmat
configure:2472: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2545: checking for IceConnectionNumber in -lICE
configure:2564: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>&5
configure:2596: checking for glNewList in -lGL
configure:2615: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x28): In function `_glthread_InitTSD':
: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x83): In function `_glthread_GetTSD':
: undefined reference to `pthread_getspecific'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0xc5): In function `_glthread_SetTSD':
: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2604 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glNewList();

int main() {
glNewList()
; return 0; }
configure:2644: checking for glNewList in -lMesaGL
configure:2663: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lMesaGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 2652 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glNewList();

int main() {
glNewList()
; return 0; }

Last edited by qwijibow; 09-06-2003 at 08:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
I can find the camera but can't find the images? sneckert Linux - Newbie 2 02-02-2005 08:51 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 07:13 PM
linux 'find' to find text files subu_s Programming 2 12-02-2004 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration