help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot open shared object '$pygmentslib'. [global 6.5.2]


From: Kaushal Modi
Subject: Re: cannot open shared object '$pygmentslib'. [global 6.5.2]
Date: Tue, 12 Jan 2016 12:24:10 -0500

Actually, I emailed too soon. I don't get that error any more.
By mistake I was running the 6.5.1 binary instead of the 6.5.2 binary.

Please ignore this noise. Thanks for your work!


--
Kaushal Modi

On Tue, Jan 12, 2016 at 12:12 PM, Kaushal Modi <address@hidden> wrote:
Hi,

I have the Pygments parser setup correctly and it was working fine with global 6.5.1.

But on updating to 6.5.2, I get the below error:

gtags: cannot open shared object '$pygmentslib'.


The following line in the new ~/.globalrc apparently should set the $pygmentslib variable, correct?

:pygmentslib=$libdir/gtags/pygments-parser.la:\


I use the below to build global (csh script):


set os_version                      = `lsb_release -a | \grep Release | awk '{print $2}' | awk -F. '{print $1}'`
set global_version                  = 6.5.2
set global_install_dir              = "$HOME/usr_local/apps/${os_version}/global/${global_version}"
set my_ctags_bin_location           = "$HOME/usr_local/apps/${os_version}/ctags/universal/bin/ctags"

make clean
sh reconf.sh
./configure --prefix=${global_install_dir} \
            --with-exuberant-ctags=${my_ctags_bin_location}
make
make install




and following is the content of pygments-parser.la:


# pygments-parser.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.5
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='pygments-parser.so'

# Names of this library.
library_names='pygments-parser.so pygments-parser.so pygments-parser.so'

# The name of the static archive.
old_library='pygments-parser.a'

# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=''

# Libraries that this one depends upon.
dependency_libs=''

# Names of additional weak libraries provided by this library
weak_library_names=''

# Version information for pygments-parser.
current=0
age=0
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/home/kmodi/usr_local/apps/6/global/6.5.2/lib/gtags'




--
Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]