Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12415 closed defect (invalid)

libssh-0.2_0 compile error

Reported by: bakvis_68@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: libssh-0.2_0 Cc: ron@…
Port:

Description

libssh-0.2 failed to compile with the following error:

[...cut...]
gcc -O2 -Iinclude -Wall -c -o sample.o sample.c
gcc -O2 -Iinclude -Wall -c -o samplesshd.o samplesshd.c
/bin/sh ./libtool --mode=link gcc -o samplessh sample.o -L/opt/local/lib -lssh -Llibssh
mkdir .libs
gcc -o samplessh sample.o  -L/opt/local/lib -lssh -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.2/libssh
/usr/bin/ld: Undefined symbols:
_channel_is_closed
_channel_new
_channel_select
_ssh_finalize
_ssh_get_fd
_ssh_new
_ssh_options_getopt
_ssh_options_new
_ssh_options_set_host
_ssh_options_set_username
_ssh_set_fd_toread
_ssh_set_options
collect2: ld returned 1 exit status
make: *** [samplessh] Error 1

Warning: the following items did not execute (for libssh): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

I have manually downloaded and compiled libssh from the homepage at http://www.0xbadc0de.be which compiled without error.

I have an intel Core2 duo MBP, running 10.4.10, i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)

Attachments (1)

libssh.log (22.0 KB) - added by bakvis_68@… 17 years ago.
Debug output for libssh-2.0

Download all attachments as: .zip

Change History (9)

comment:1 Changed 17 years ago by simon@…

I just tried the same and it installed fine for me on a MacBook.

Try the following to ensure it's a clean install.

port clean --all libssh

port install libssh

Could you also give us a full configuration and build log. To get it use the following command when you install libssh.

port -d install libssh

Hope this helps,
Simon

comment:2 Changed 17 years ago by nox@…

Cc: bakvis_68@… added
Milestone: Port Bugs
Version: 1.5.0

Changed 17 years ago by bakvis_68@…

Attachment: libssh.log added

Debug output for libssh-2.0

comment:3 Changed 17 years ago by bakvis_68@…

Hi Simon,

I actually tried that before filing a bug report. I tried it again, after updating to this week's MacPort 1.51, but the problem is still the same. I have attached a full (-d) error log.

Thanks, Zan

comment:4 Changed 17 years ago by jmroot (Joshua Root)

Cc: ron@… added; bakvis_68@… removed

CC maintainer.

comment:5 Changed 17 years ago by ron@…

With version 1.600 on a 10.5.2 the port builds and installs without error. I do not have a Tiger based system to test on. Recommend updating base to 1.600 and try building the port again.

comment:6 Changed 17 years ago by bakvis_68@…

Sorry for not keeping up-to-date.

I upgraded to OS 10.5.2 and MacPorts 1.6. Libssh now installs without problems.

Thanks

comment:7 Changed 17 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.