discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd ld error (cannot find dispatch)


From: Patryk Laurent
Subject: Odd ld error (cannot find dispatch)
Date: Mon, 03 Jun 2019 04:28:16 GMT

Hi,

On Debian 9, libdispatch has been successfully compiled and installed.  Yet when make in GNUstep-base is running, I get "/usr/bin/ld: cannot find -ldispatch".


This is odd, because -L/usr/local/lib is in that line.  And libdispatch.so is in /usr/local/lib.

Does anyone know why ld might not be finding libdispatch on a path supplied to it?

Thank you,
Patryk


root@dd9175b18623:/GNUstep-build/base/Source/Additions# ls /usr/local/lib

charset.alias        libcharset.a   libcharset.so    libcharset.so.1.0.0  libiconv.a   libiconv.so    libiconv.so.2.6.0        python2.7

libBlocksRuntime.so  libcharset.la  libcharset.so.1  libdispatch.so       libiconv.la  libiconv.so.2  preloadable_libiconv.so  python3.5



root@dd9175b18623:/GNUstep-build/base/Source/Additions# "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o ./obj/subproject.o -L/usr/local/lib -L/usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../.. -L/usr/lib/llvm-8/bin/../lib -L/lib -L/usr/lib -r -ldispatch obj/Additions.obj/GSTypeEncoding.c.o obj/Additions.obj/GSObjCRuntime.m.o obj/Additions.obj/GCObject.m.o obj/Additions.obj/GCArray.m.o obj/Additions.obj/GCDictionary.m.o obj/Additions.obj/GSLock.m.o obj/Additions.obj/GSMime.m.o obj/Additions.obj/GSXML.m.o obj/Additions.obj/GSFunctions.m.o obj/Additions.obj/GSInsensitiveDictionary.m.o obj/Additions.obj/NSArray+GNUstepBase.m.o obj/Additions.obj/NSAttributedString+GNUstepBase.m.o obj/Additions.obj/NSBundle+GNUstepBase.m.o obj/Additions.obj/NSCalendarDate+GNUstepBase.m.o obj/Additions.obj/NSData+GNUstepBase.m.o obj/Additions.obj/NSDebug+GNUstepBase.m.o obj/Additions.obj/NSError+GNUstepBase.m.o obj/Additions.obj/NSHashTable+GNUstepBase.m.o obj/Additions.obj/NSFileHandle+GNUstepBase.m.o obj/Additions.obj/NSLock+GNUstepBase.m.o obj/Additions.obj/NSMutableString+GNUstepBase.m.o obj/Additions.obj/NSNumber+GNUstepBase.m.o obj/Additions.obj/NSObject+GNUstepBase.m.o obj/Additions.obj/NSPropertyList+GNUstepBase.m.o obj/Additions.obj/NSProcessInfo+GNUstepBase.m.o obj/Additions.obj/NSStream+GNUstepBase.m.o obj/Additions.obj/NSString+GNUstepBase.m.o obj/Additions.obj/NSTask+GNUstepBase.m.o obj/Additions.obj/NSThread+GNUstepBase.m.o obj/Additions.obj/NSURL+GNUstepBase.m.o obj/Additions.obj/Unicode.m.o


/usr/bin/ld: cannot find -ldispatch


clang: error: linker command failed with exit code 1 (use -v to see invocation)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]