|
From: | Kaushal Modi |
Subject: | Re: cannot open shared object '$pygmentslib'. [global 6.5.2] |
Date: | Tue, 12 Jan 2016 12:24:10 -0500 |
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.2set 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 cleansh reconf.sh./configure --prefix=${global_install_dir} \--with-exuberant-ctags=${my_ctags_bin_location}makemake installand 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 libraryweak_library_names=''# Version information for pygments-parser.current=0age=0revision=0# Is this an already installed library?installed=yes# Should we warn about portability when linking against -modules?shouldnotlink=yes# Files to dlopen/dlpreopendlopen=''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
[Prev in Thread] | Current Thread | [Next in Thread] |