New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Error #126
Comments
Hi,
have you read the build.linux64x64/HowToBuild? Have you installed the
X11 development libraries?
…On Sat, Mar 18, 2017 at 3:53 PM, Vm900 ***@***.***> wrote:
Hi,
Been trying to build for centos 7 64bit machine and i keep
getting this error:
/usr/bin/ld: cannot find -lvm-display-X11
collect2: error: ld returned 1 exit status
make[1]: *** [XDisplayControlPlugin.la] Error 1
make: *** [XDisplayControlPlugin.la] Error 2
Can you kindly help
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#126>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/APHa0FaIHhZmYT6RepUpqo4FZLyavBoOks5rnGBcgaJpZM4MhkcG>
.
--
_,,,^..^,,,_
best, Eliot
|
Same for me on Ubuntu 14. Here are some extract of the LOG file: I presume via libtool, the Makefile will generate vm-display-X11/.libs/vm-display-X11 without .so extension:
Then, it will further link against the non existing .so extension
And fail to link
|
Googling "libtool missing .so extension" reveals a few old problems relative to some old version of libtool. For some reason, the libtool copied to build.linux64x64/squeak.cog.spur/build is an old one
while the regular ubuntu 14 is
Maybe this is a side effect of installing an old autotools
Installing an old autotools was required after a recent change, let me remember... And now, things have changed again... This autoshit is a nightmare. [Vm-dev] libtool unrecognized option `--preserve-dup-deps' This was after merging #123 I don't see recent modifications other than rpath... |
Hi Vm900,
this is now fixed. See Cog commit 54bab0a
…On Sat, Mar 18, 2017 at 3:53 PM, Vm900 ***@***.***> wrote:
Hi,
Been trying to build for centos 7 64bit machine and i keep
getting this error:
/usr/bin/ld: cannot find -lvm-display-X11
collect2: error: ld returned 1 exit status
make[1]: *** [XDisplayControlPlugin.la] Error 1
make: *** [XDisplayControlPlugin.la] Error 2
Can you kindly help
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#126>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/APHa0FaIHhZmYT6RepUpqo4FZLyavBoOks5rnGBcgaJpZM4MhkcG>
.
--
_,,,^..^,,,_
best, Eliot
|
Thanks |
It did not solve the problem for me. I see that we carry an old version of ltmain.sh in platforms/unix/config but we don't have a libtool.m4, all seems included in aclocal.m4, and I think is incompatible with my installed autoconf. When I install autoconf (2.69) + autoconf2.13 packages, ubuntu is smart enough to auto-detect autoconf version based on some rules... For example: What works for me (generating the .so extension) is to remember doing this step:
But then,
still fails for another reason: it does not find the library after Eliot's change...
What is required is
The old version did work, I'll have to revert, even if a bit more complex |
On Wed, Mar 22, 2017 at 1:38 PM, Nicolas Cellier ***@***.***> wrote:
It did not solve the problem for me.
There is no more bad link, but still, the generated library miss a .so
extension, so cannot be found via -l option.
I see that we carry an old version of ltmain.sh in platforms/unix/config
but we don't have a libtool.m4, all seems included in aclocal.m4, and I
think is incompatible with my installed autoconf.
When I install autoconf (2.69) + autoconf2.13 packages, ubuntu is smart
enough to auto-detect autoconf version based on some rules... For example:
configure.ac => new autoconf (>= 2.50) while configure.in => old autoconf
(>= 2.13)
So not smart enough to use old version and work out of the box...
What works for me (generating the .so extension) is to remember doing this
step:
cd platforms/unix/config
make configure
But then,
cd ../../../build.linux64x64/squeak.cog.spur/build
./mvm
still fails for another reason: it does not find the library after Eliot's
change...
What is generated is missing the lib prefix
./vm-display-X11/.libs/vm-display-X11.so
What is required is
./vm-display-X11/.libs/libvm-display-X11.so
The old version did work, I'll have to revert, even if a bit more complex
Please *don't* revert. The old change broke my CentOS 64-bit build. On
CentOS, at least in my configuration, there is no .so appended to the
shared library so adding the explicit .so breaks my build. My fix avoided
that issue.
… —
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#126 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APHa0GXmh1DiZ-FhFVvGHroW4jacbjHzks5roYbdgaJpZM4MhkcG>
.
--
_,,,^..^,,,_
best, Eliot
|
So I've reverted the changes and all is back to normal.
This is also a note for me, because age help me forgetting these nasty details... |
Eliot, sorry, I missed your post: we can't let things bugged as they are. The missing .so is a bug, an accident. It's not something that we want to perpetuate. I don't well see how your changes solved it, but they only work in a particular case. So two questions
|
This change might be required as workaround to issue 126 #126 Normally one would avoid the issue by: `cd platforms/unix/config; make configure`
Eliot, I published an ugly workaround that first test for missing .so and link whatever it finds... I can build in Ubuntu 14 with and without a |
Enhancement split slang
Hi,
Been trying to build for centos 7 64bit machine and i keep
getting this error:
/usr/bin/ld: cannot find -lvm-display-X11
collect2: error: ld returned 1 exit status
make[1]: *** [XDisplayControlPlugin.la] Error 1
make: *** [XDisplayControlPlugin.la] Error 2
Can you kindly help
Thanks
The text was updated successfully, but these errors were encountered: