On Wed, Apr 12, 2023 at 6:09 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Tony wrote:
>
> > > > According to the YaST installer, openSUSE Tumbleweed package libXm4
> > > > titled "Motif runtime library" installs (only) files
> > > > /usr/lib64/libXm.so.4 and /usr/lib64/libXm.so.4.0.4
> > > >
> > > > so I did
> > > >
> > > > pushd /usr/lib64
> > > > ls -l libXm*
> > > >
> > > > which answered
> > > >
> > > > lrwxrwxrwx 1 root root      14 Mar 19 23:38 libXm.so -> libXm.so.4.0.4
> > > > lrwxrwxrwx 1 root root      14 Mar 19 23:38 libXm.so.4 -> libXm.so.4.0.4
> > > > -rwxr-xr-x 1 root root 3021784 Mar 19 23:38 libXm.so.4.0.4
> > > > lrwxrwxrwx 1 root root      15 Mar 19 23:28 libXmu.so -> libXmu.so.6.2.0
> > > > lrwxrwxrwx 1 root root      15 Mar 19 23:28 libXmu.so.6 -> 
> > > > libXmu.so.6.2.0
> > > > -rwxr-xr-x 1 root root  113936 Mar 19 23:28 libXmu.so.6.2.0
> > > > lrwxrwxrwx 1 root root      16 Mar 19 23:28 libXmuu.so -> 
> > > > libXmuu.so.1.0.0
> > > > lrwxrwxrwx 1 root root      16 Mar 19 23:28 libXmuu.so.1 -> 
> > > > libXmuu.so.1.0.0
> > > > -rwxr-xr-x 1 root root   22568 Mar 19 23:28 libXmuu.so.1.0.0
> > > >
> > > > I think only the first three lines in this list are relevant. IOW on
> > > > my system there are three files answering to /usr/lib64/libXm.so* in
> > > > your list, two of which are soft links to the third one. IIUC by
> > > > giving configure the argument --with-motif-lib=-lXm it doesn't search
> > > > for the lib but just passes -lXm to the linker, which finds
> > > > /usr/lib64/libXm.so -> libXm.so.4.0.4 and happily uses that (as it
> > > > should) to find the Motif entry points.
> > >
> > > So perhaps it's because configure doesn't check /usr/lib64, and the
> > > library was moved there recently?  You can try by editing
> > > src/auto/configure and around line 10221; add "/usr/lib64" before
> > > "/usr/lib/i386-linux-gnu" in the assignment to "gui_libs".
> > >
> > AFAIK on openSUSE /usr/lib has always been the 32-bit library (here
> > with interfaces for 32-bit executables running on this 64-bit system)
> > and /usr/lib64 the "purely" 64-bit library.
>
> Please try with patch 9.0.1445.  Hopefully it works without any special
> arguments now.

As I come back to the computer, the source is at patchlevel 9.0.1447
and the Motif libs are found even with no --with-motif-lib= argument
(and a "make reconfig").

Problem solved.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtiqiHXUvJsjVW7E8aBvpBvxE4HdoetFc2%2Bmm0sG2xmGw%40mail.gmail.com.

Raspunde prin e-mail lui