Re: cannot open shared object '$pygmentslib'. [global 6.5.2]
Kaushal Modi <[email protected]> Tue, 12 Jan 2016 12:24:10 -0500
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CAFyQvY2Tvd3c48f9FhCFzPjT-WHe4kyxMTb_=oCceR8hzmSfJQ@mail.gmail.com> |
--===============7442773987360465721== Content-Type: multipart/alternative; boundary=001a11c2fd10b665f1052926548d --001a11c2fd10b665f1052926548d Content-Type: text/plain; charset=UTF-8 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 <[email protected]> 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 > --001a11c2fd10b665f1052926548d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Actually, I emailed too soon. I don't get that error a= ny more.<div>By mistake I was running the 6.5.1 binary instead of the 6.5.2= binary.</div><div><br></div><div>Please ignore this noise. Thanks for your= work!</div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div cl= ass=3D"gmail_signature"><div dir=3D"ltr"><br>--<br>Kaushal Modi</div></div>= </div> <br><div class=3D"gmail_quote">On Tue, Jan 12, 2016 at 12:12 PM, Kaushal Mo= di <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>></span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I have t= he Pygments parser setup correctly and it was working fine with global 6.5.= 1.</div><div><br></div><div>But on updating to 6.5.2, I get the below error= :</div><div><br></div>gtags: cannot open shared object '$pygmentslib= 9;.<br clear=3D"all"><div><div><div dir=3D"ltr"><br></div><div dir=3D"ltr">= <br></div><div>The following line in the new ~/.globalrc apparently should = set the $pygmentslib variable, correct?</div><div><br></div><div><div><span= style=3D"white-space:pre-wrap"> </span>:pygmentslib=3D$libdir/gtags/<a hre= f=3D"http://pygments-parser.la" target=3D"_blank">pygments-parser.la</a>:\<= /div></div><div><br></div><div><br></div><div>I use the below to build glob= al (csh script):</div><div><br></div><div><br></div><div><div>set os_versio= n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0=3D `lsb_release -a | \grep Release | awk '{print $2}' | awk -F.= '{print $1}'`</div><div>set global_version =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 6.5.2</div><div>set global_ins= tall_dir =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "$HOME/us= r_local/apps/${os_version}/global/${global_version}"</div><div>set my_= ctags_bin_location =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "$HOME/usr_l= ocal/apps/${os_version}/ctags/universal/bin/ctags"</div><div><br></div= ><div>make clean</div><div>sh reconf.sh</div><div>./configure --prefix=3D${= global_install_dir} \</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -= -with-exuberant-ctags=3D${my_ctags_bin_location}</div><div>make</div><div>m= ake install</div></div><div><br></div><div><br></div><div><br></div><div><b= r></div><div>and following is the content of <a href=3D"http://pygments-par= ser.la" target=3D"_blank">pygments-parser.la</a>:</div><div><br></div><div>= <br></div><div><div># <a href=3D"http://pygments-parser.la" target=3D"_blan= k">pygments-parser.la</a> - a libtool library file</div><div># Generated by= libtool (GNU libtool) 2.4.5</div><div>#</div><div># Please DO NOT delete t= his file!</div><div># It is necessary for linking the library.</div><div><b= r></div><div># The name that we can dlopen(3).</div><div>dlname=3D'pygm= ents-parser.so'</div><div><br></div><div># Names of this library.</div>= <div>library_names=3D'pygments-parser.so pygments-parser.so pygments-pa= rser.so'</div><div><br></div><div># The name of the static archive.</di= v><div>old_library=3D'pygments-parser.a'</div><div><br></div><div>#= Linker flags that cannot go in dependency_libs.</div><div>inherited_linker= _flags=3D''</div><div><br></div><div># Libraries that this one depe= nds upon.</div><div>dependency_libs=3D''</div><div><br></div><div>#= Names of additional weak libraries provided by this library</div><div>weak= _library_names=3D''</div><div><br></div><div># Version information = for pygments-parser.</div><div>current=3D0</div><div>age=3D0</div><div>revi= sion=3D0</div><div><br></div><div># Is this an already installed library?</= div><div>installed=3Dyes</div><div><br></div><div># Should we warn about po= rtability when linking against -modules?</div><div>shouldnotlink=3Dyes</div= ><div><br></div><div># Files to dlopen/dlpreopen</div><div>dlopen=3D'&#= 39;</div><div>dlpreopen=3D''</div><div><br></div><div># Directory t= hat this library needs to be installed in:</div><div>libdir=3D'/home/km= odi/usr_local/apps/6/global/6.5.2/lib/gtags'</div></div><div><br></div>= <div><br></div><div><br></div><div dir=3D"ltr"><br>--<br>Kaushal Modi</div>= </div></div> </div> </blockquote></div><br></div> --001a11c2fd10b665f1052926548d-- --===============7442773987360465721== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-global --===============7442773987360465721==--