On 05/25/2013 10:20 PM, estew wrote:
On Sunday, 26 May 2013 at 05:01:10 UTC, Ellery Newcomer wrote:
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and libutil.
For some reason, ld won't cooperate unless you pass -ldl -lutil
huh. I haven't run into it on fedora. python is built
differently, though.
dmd -L-lpthread -L-ldl -L-lutil -L-L/usr/lib -L-lz
/usr/lib/python2.7/config/libpython2.7.a -debug
-ofbuild/lib.linux-x86_64-2.7/link {lotsaobjectfiles} -L-ldl
-L-lutil -v
Well, that should work fine, although the
On Sunday, 26 May 2013 at 05:01:10 UTC, Ellery Newcomer wrote:
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and
libutil. For some reason, ld won't cooperate unless you pass
-ldl -lutil at the end of the command string.
On 05/26/2013 07:55 AM, Jesse Phillips wrote:
On Sunday, 26 May 2013 at 05:01:10 UTC, Ellery Newcomer wrote:
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and libutil.
For some reason, ld won't cooperate unless you pass
On 05/26/2013 08:10 AM, Ellery Newcomer wrote:
On 05/26/2013 07:55 AM, Jesse Phillips wrote:
On Sunday, 26 May 2013 at 05:01:10 UTC, Ellery Newcomer wrote:
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and libutil.
For
On 05/26/2013 06:50 PM, Ellery Newcomer wrote:
On Sunday, 26 May 2013 at 16:28:33 UTC, Mike Wey wrote:
Try prefixing the python lib with -L like so:
dmd -unittest -property -debug -gc -version=Python_2_7_Or_Later
-version=Python_2_6_Or_Later -version=Python_2_5_Or_Later
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and libutil.
For some reason, ld won't cooperate unless you pass -ldl -lutil at the
end of the command string. Holy Ubuntu!
I can't seem to get dmd to do this though. Any
On Sunday, 26 May 2013 at 05:01:10 UTC, Ellery Newcomer wrote:
I have a project here which fails on link on ubuntu 12.10.
It give undefined reference errors for functions in libdl and
libutil. For some reason, ld won't cooperate unless you pass
-ldl -lutil at the end of the command string.
Just to clarify:
-I = flag to specify include path
-L-L = flag to specify additional library search path
-L-l = flag to specify link library
/Stewart