Hi, I tried building the version 4.2p1 on the FreeBSD box. Even if I executed the configure script with --with-rpath and --with-libedit=/path/to/libedit the -R options for libedit are NOT added in linking although that for zlib and OpenSSL are correctly done. This problem can be easily avoided by editing openssh-4.2p1/Makefile after executing the configure script. This means that you should add -R<path_to_libedit>/lib to LDFLAGS. I attach the patch configure.ac.diff, which does the following: * replace -I$withval/include with -I${withval}/include * improve the output of "% ./configure --help" as well as does fix the problem mentioned above. penitence: I should have checked the daily snapshot in this point before 4.2p1 was released...... (;_;) good news: Now, the libedit distributed at http://www.thrysoee.dk/editline/ can be built also on the FreeBSD-4.x system! (^_^)/ Thanks, --- Norihiko Murase The University of Aizu E-mail: skeleten at shillest.net s1080224 at u-aizu.ac.jp -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: configure.ac.diff Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050902/56c109ed/attachment.ksh
Norihiko Murase
2005-Sep-22 08:39 UTC
RE-SEND: 2005/09/02: (4.2p1) Missing -R<path_to_libedit>/lib
I'm very happy if any comments are given... # I did send again also on Sep. 19th, but the mail server # did REJECT! I wonder what happened... ------------------------------ Message-Id: <20050902223814.926ee0%skeleten at shillest.net> Date: Fri, 02 Sep 2005 22:38:14 +0900 From: Norihiko Murase <skeleten at shillest.net> To: openssh-unix-dev at mindrot.org Subject: (4.2p1) Missing -R<path_to_libedit>/lib URL: http://www.mindrot.org/pipermail/openssh-unix-dev/2005-September/023650.html Hi, I tried building the version 4.2p1 on the FreeBSD box. Even if I executed the configure script with --with-rpath and --with-libedit=/path/to/libedit the -R options for libedit are NOT added in linking although that for zlib and OpenSSL are correctly done. This problem can be easily avoided by editing openssh-4.2p1/Makefile after executing the configure script. This means that you should add -R<path_to_libedit>/lib to LDFLAGS. I attach the patch configure.ac.diff, which does the following: * replace -I$withval/include with -I${withval}/include * improve the output of "% ./configure --help" as well as does fix the problem mentioned above. penitence: I should have checked the daily snapshot in this point before 4.2p1 was released...... (;_;) good news: Now, the libedit distributed at http://www.thrysoee.dk/editline/ can be built also on the FreeBSD-4.x system! (^_^)/ Thanks, --- Norihiko Murase The University of Aizu E-mail: skeleten at shillest.net s1080224 at u-aizu.ac.jp