# gnu global can't find exuberant-ctags.la

Hi.

I'm on fedora 22. I've install the gnu-global package, as well as all the ctags packages I could find (ctags-etags, and global-ctags). I modified my .globalrc as follows:

default:\
:tc=exuberant-ctags:tc=htags


to make ctags the default parser. But when I run gtags, I get the following message: gtags: cannot open shared object '/usr/lib/gtags/exuberant-ctags.la'

Looking in /usr, i see that lib64/gtags has exuberant-ctags.so, but no .la file.

What do I have to do to use gnu-global with exuberant c-tags?

Thanks kindly

edit retag close merge delete

Sort by » oldest newest most voted

Note: I've never user gnu-global, since ctags is usually enough in my case. Additionally, I find the GNU build system to be needlessly complicated, so I don't use that much either. I'm also assuming you're somewhat of a developer since you're using tagging systems.

A *.la is generated when you build a library with libtool. From my understanding, it's a way to abstract the build process from worrying about how systems implement dynamic and static libraries. My suggestion would to rebuild ctags such that it uses libtool to generate the libraries with a *.la. Install libtool and run man libtool for information (I honestly have no idea). Luckily, ctags very easy to compile. It's straight up C, and can literally be compiled with gcc *.c -o ctags if I remember correctly. So you can write a short makefile to compile it as a dynamic library with libtool and install it on your system (using an rpm if you want) with the *.la and *.so at the correct location.

more