Can not install libgeda on Cent 7

Bug #1955479 reported by Hai Anh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Invalid
Undecided
Unassigned

Bug Description

I tried to compile libgeda separately because it is not exist when I finish the full installation for geda. I can use gschem/gattrib/gnetlist/gsch2pcb/gsymcheck/gaf/xorn OK.

I try: make; make install

But I got those message

make[3]: Entering directory `/root/geda-gaf/libgeda/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c libgeda.la '/usr/local/lib'
ldconfig: /usr/local/lib/libguile-2.0.so.22.7.1-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/local/lib/libguile-2.2.so.1.3.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/local/lib/libguile-2.2.so.1.3.1-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

It finished without error but I can not see the execute file of libgeda anywhere.

Can anyone help my case?

Revision history for this message
Roland Lutz (rlutz) wrote :

libgeda is part of gEDA/gaf; it is installed as part of a regular gEDA/gaf installation.

The tarball containing the experimental netlister with bus support is NOT gEDA/gaf. It does not contain libgeda and it does not contain gschem.

Also, you should not be building packages as root.

I'd recommend the following:

1. Make sure no files from a previous installation attempt are left in /usr/local.

2. Download the latest version of gEDA/gaf (currently 1.10.2) from
   http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.2/geda-gaf-1.10.2.tar.gz

3. Unpack, configure, and build the package as a regular user:
   $ tar xf geda-gaf-1.10.2.tar.gz
   $ cd geda-gaf-1.10.2
   $ ./configure --prefix=/usr/local --enable-silent-rules
   $ make -j4

4. Install the package as root:
   $ sudo make install

5. Download, unpack, configure and build the experimental netlister, but do NOT install it.

You can run the experimental netlister directly from the build directory. Since it is not the same version as the netlister that comes with gEDA/gaf, installing it to the same prefix is going to cause problems.

Roland Lutz (rlutz)
Changed in geda:
status: New → Invalid
Revision history for this message
Hai Anh (haianh) wrote :

Hi Roland,

I followed all steps from your guideline but still do not get libgeda execute file. I attached my install log. Can you take a look?

Revision history for this message
Hai Anh (haianh) wrote :

Can you take a look Roland?

Changed in geda:
status: Invalid → Incomplete
Revision history for this message
Roland Lutz (rlutz) wrote :

Well, it seems ldconfig isn't happy about the files

  /usr/local/lib/libguile-2.0.so.22.7.1-gdb.scm
  /usr/local/lib/libguile-2.2.so.1.3.0-gdb.scm
  /usr/local/lib/libguile-2.2.so.1.3.1-gdb.scm

from the Guile development packages. On Debian, these reside in

  /usr/share/gdb/auto-load/

I'm not sure why this would be a problem in this case and not in others, but maybe you can solve the problem by moving the files?

That said, what exactly is your problem? Which file(s) are you missing?

Revision history for this message
Hai Anh (haianh) wrote :

Hi Roland,

I tried to remove all libguile and reinstall just one libguile version. Then I dont't get those warning above.

I was thought the installation with generate the standalone executed binary file /usr/local/bin/libgeda like other package /usr/local/bin/[gschem/gattrib/gnetlist/gsch2pcb/gsymcheck/gaf/xorn]

This is my mistake. I saw these log

  CCLD libgeda.la

while other package give the standalone executed binary file such as

  CCLD gschem

Then I found those file

/usr/local/lib/libgeda.la
/usr/local/lib/libgeda.so -> libgeda.so.47.0.0
/usr/local/lib/libgeda.so.47 -> libgeda.so.47.0.0
/usr/local/lib/libgeda.so.47.0.0

I thought it was compiled ok. Thank you for your help. We can close this issue.

Changed in geda:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.