Skip to content
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

1.3.1 Ubuntu 18.04 WSL missing so #69

Open
resonancellc opened this issue Nov 17, 2019 · 3 comments
Open

1.3.1 Ubuntu 18.04 WSL missing so #69

resonancellc opened this issue Nov 17, 2019 · 3 comments

Comments

@resonancellc
Copy link

resonancellc commented Nov 17, 2019

./configure
make
make test
make install

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1# xo --version
xo: error while loading shared libraries: libxo.so.0: cannot open shared object file: No such file or directory

xo xohtml xolint xopo

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1# xohtml
xohtml: wrap libxo-enabled output in HTML
Usage: xohtml [options] [command [arguments]]
Valid options are:
-b | --base
-c | --command
-f | --file

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1# xolint
xolint [options] files ...
-c invoke 'cpp' on input
-C flags Pass flags to cpp
-d Show debug output
-D Extract xolint documentation
-I Print xo_info_t data
-p Print input data on errors
-V Print vocabulary (list of tags)
-X Print examples of invalid use

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1# xopo
xopo: error while loading shared libraries: libxo.so.0: cannot open shared object file: No such file or directory

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1#libxo-config
Usage: libxo-config [OPTION]

Known values for OPTION are:

--prefix=DIR change libxo prefix [default /usr/local]
--exec-prefix=DIR change libxo exec prefix [default /usr/local]
--libs print library linking information
--bindir print the bin directory
--cflags print pre-processor and compiler flags
--share print share directory
--help display this help and exit
--version output version information

root@DESKTOP:/mnt/c/wsl/libxo-1.3.1# libxo-config --cflags --libs --share
-I/usr/local/include -D_GNU_SOURCE -g -O2
-L/usr/local/lib -lxo
/usr/local/share/libxo

@philshafer
Copy link
Contributor

Is the library (libxo.so.0) installed in /usr/local/lib? What does "ldd /usr/local/bin/xo" report? Also "ldconfig -r" may be helpful.

Thanks,
Phil

@resonancellc
Copy link
Author

If I had to guess, I would think perhaps one of these asterisks is at fault here. Let me know if I can provide anything else to assist here.

ll /usr/local/lib/
total 1320
drwxr-xr-x 1 root root 4096 Nov 16 22:36 ./
drwxr-xr-x 1 root root 4096 Jul 25 2018 ../
drwxr-xr-x 1 root root 4096 Nov 16 22:29 libxo/
-rw-r--r-- 1 root root 674846 Nov 16 22:36 libxo.a
-rwxr-xr-x 1 root root 907 Nov 16 22:36 libxo.la*
lrwxrwxrwx 1 root root 14 Nov 16 22:36 libxo.so -> libxo.so.0.0.0*
lrwxrwxrwx 1 root root 14 Nov 16 22:36 libxo.so.0 -> libxo.so.0.0.0*
-rwxr-xr-x 1 root root 462112 Nov 16 22:36 libxo.so.0.0.0*
drwxr-xr-x 1 root root 4096 Nov 16 22:36 pkgconfig/
drwxrwxr-x 1 root staff 4096 Oct 10 03:20 python2.7/
drwxrwsr-x 1 root staff 4096 Jul 25 2018 python3.6/

ldd /usr/local/bin/xo
linux-vdso.so.1 (0x00007fffe054f000)
libxo.so.0 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f47b2310000)
/lib64/ld-linux-x86-64.so.2 (0x00007f47b2a00000)

ldconfig -r
/sbin/ldconfig.real: option requires an argument -- 'r'
Try ldconfig.real --help' or ldconfig.real --usage' for more information.
root# ldconfig.real --help
Usage: ldconfig.real [OPTION...]
Configure Dynamic Linker Run Time Bindings.

-c, --format=FORMAT Format to use: new, old or compat (default)
-C CACHE Use CACHE as cache file
-f CONF Use CONF as configuration file
-i, --ignore-aux-cache Ignore auxiliary cache file
-l Manually link individual libraries.
-n Only process directories specified on the command
line. Don't build cache.
-N Don't build cache
-p, --print-cache Print cache
-r ROOT Change to and use ROOT as root directory
-v, --verbose Generate verbose messages
-X Don't update symbolic links
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

For bug reporting instructions, please see:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs.
root# ldconfig.real --usage
Usage: ldconfig.real [-ilnNpvX?V] [-c FORMAT] [-C CACHE] [-f CONF] [-r ROOT]
[--format=FORMAT] [--ignore-aux-cache] [--print-cache] [--verbose]
[--help] [--usage] [--version]

@philshafer
Copy link
Contributor

philshafer commented Nov 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants