RejectedSoftware Forums

Sign up

Pages: 1 2

linker error

$ vibe --> error: /usr/bin/ld: cannot find -levent_pthreads

Should I link this manually? Which *pthreads? I only find c++ lwm_pthreads on Debian6.

Re: linker error

Am 30.10.2012 00:15, schrieb dsmith:

$ vibe --> error: /usr/bin/ld: cannot find -levent_pthreads

Should I link this manually? Which *pthreads? I only find c++
lwm_pthreads on Debian6.

Debian Squeeze still has the old 1.x version of libevent, but 2.x is
needed (contains libevent_pthreads among other things).
squeeze-backports has something, but I haven't tested it yet:
http://packages.debian.org/squeeze-backports/libevent-2.0-5

If it works this way, that would be good to know. I would add a small
note to the installation instructions then.

The alternative would be to download and build the latest libevent manually.

Re: linker error

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

Re: linker error

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Re: linker error

On Tue, 30 Oct 2012 11:46:31 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Oh, wow, this affects me then too, that's what my production server is
running. Good to know! :)

Re: linker error

On Tue, 30 Oct 2012 11:46:31 +0100, Sönke Ludwig wrote:

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Installed libevent-2 on Debian6 (vibe 0.78) and still got error: cannot find -levent_pthreads
Also, just installed vibe0.79. Now error ... $ vibe --> bash: /usr/bin/vibe: /bin/sh^M: bad interpreter: No such file or directory.

The ^M may be a hidden char from a non-Linux text editor...

Re: linker error

On Tue, 30 Oct 2012 21:51:23 -0500, dsmith dsmith@nomail.com wrote:

On Tue, 30 Oct 2012 11:46:31 +0100, Sönke Ludwig wrote:

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Installed libevent-2 on Debian6 (vibe 0.78) and still got error: cannot
find -levent_pthreads
Also, just installed vibe0.79. Now error ... $ vibe --> bash:
/usr/bin/vibe: /bin/sh^M: bad interpreter: No such file or directory.

The ^M may be a hidden char from a non-Linux text editor...

try dos2unix. Or just nano or something and backspace.
I don't see ^M on git master, so you should be able to just grab that file
easily.

Using Opera's revolutionary email client: http://www.opera.com/mail/

Re: linker error

On Tue, 30 Oct 2012 22:11:08 -0500, 1100110 wrote:

On Tue, 30 Oct 2012 21:51:23 -0500, dsmith dsmith@nomail.com wrote:

On Tue, 30 Oct 2012 11:46:31 +0100, Sönke Ludwig wrote:

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Installed libevent-2 on Debian6 (vibe 0.78) and still got error: cannot
find -levent_pthreads
Also, just installed vibe0.79. Now error ... $ vibe --> bash:
/usr/bin/vibe: /bin/sh^M: bad interpreter: No such file or directory.

The ^M may be a hidden char from a non-Linux text editor...

try dos2unix. Or just nano or something and backspace.
I don't see ^M on git master, so you should be able to just grab that file
easily.

Using Opera's revolutionary email client: http://www.opera.com/mail/

No ^M is found in source/vibe/vibe.d or in /usr/bin/vibe... now greping system for the source.

Re: linker error

Am 31.10.2012 05:23, schrieb dsmith:

On Tue, 30 Oct 2012 22:11:08 -0500, 1100110 wrote:

On Tue, 30 Oct 2012 21:51:23 -0500, dsmith dsmith@nomail.com wrote:

On Tue, 30 Oct 2012 11:46:31 +0100, Sönke Ludwig wrote:

Am 30.10.2012 10:49, schrieb Nick Sabalausky:

On Tue, 30 Oct 2012 08:23:41 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

Debian Squeeze still has the old 1.x version of libevent, but 2.x
is[...]

Which one is squeeze?

6

Installed libevent-2 on Debian6 (vibe 0.78) and still got error:
cannot find -levent_pthreads
Also, just installed vibe0.79. Now error ... $ vibe --> bash:
/usr/bin/vibe: /bin/sh^M: bad interpreter: No such file or directory.

The ^M may be a hidden char from a non-Linux text editor...

try dos2unix. Or just nano or something and backspace.
I don't see ^M on git master, so you should be able to just grab that
file easily.

Using Opera's revolutionary email client: http://www.opera.com/mail/

No ^M is found in source/vibe/vibe.d or in /usr/bin/vibe... now greping
system for the source.

The line endings of all files was CRLF because I checked out on Windows
to make the .zip file - I've uploaded a new file with the line endings
changed to LF for the shell scripts.

This happened because the zip file now includes HTML docs and I can't
use the github zipball feature anymore. For the next releases I'll
generate the zip file on Linux instead.

Re: linker error

On Wed, 31 Oct 2012 07:40:48 +0100
Sönke Ludwig sludwig@rejectedsoftware.com wrote:

The line endings of all files was CRLF because I checked out on
Windows to make the .zip file - I've uploaded a new file with the
line endings changed to LF for the shell scripts.

This happened because the zip file now includes HTML docs and I can't
use the github zipball feature anymore. For the next releases I'll
generate the zip file on Linux instead.

I find that things are a lot easier if I just disable all the
autoCrlf/safeCrlf stuff and set my editor to always create/save files
as LN. AutoCrlf and SafeCrlf should never have even existed: I'm a
windows guy, and everything on windows supports LN (even batch
files!), so there's never any reason to use CRLF anymore, nor
autoCrlf/safeCrlf: they can only ever create problems.

(Well, the ONE exception is windows notepad, but anyone coder who uses
that has much bigger problems...)

Pages: 1 2