You are not logged in.

#1 2017-06-17 12:52:14

seawishnew
Member
Registered: 2017-06-17
Posts: 4

[Solved] How to install libg2c?

I installed Arch linux  on my system a while back and I recently decided to switch to it. My work involves running a software jmrui which runs on 32-bit java, which I installed using packer. It also requires libg2c without which it does not function properly.

Previously, I was using debian and found a .deb package that I installed which solved the problem there. I've spent quite some time searching all over without much help. And yes, I did see these posts: 1 2 but I didn't get much from them.

I also checked out ways to install .deb packages on Arch and tried the manual method from this blog   as debtap kept showing some error whenever I tried:

 sudo debtap -u 

.

The libg2c0_3.4.6-6ubuntu5_i386.deb package contained:

libg2c
└── usr
    ├── lib
    │   ├── libg2c.so.0 -> libg2c.so.0.0.0
    │   └── libg2c.so.0.0.0
    └── share
        └── doc
            ├── gcc-3.4-base
            │   └── fortran
            │       └── README.Debian
            └── libg2c0 -> gcc-3.4-base

7 directories, 3 files

And I moved the files to their corresponding files but that didn't solve the problem with the software.

Any help appreciated smile

Thanks in advance!

Last edited by seawishnew (2017-06-17 13:31:48)

Offline

#2 2017-06-17 13:31:24

seawishnew
Member
Registered: 2017-06-17
Posts: 4

Re: [Solved] How to install libg2c?

Turns out that once those files were copied to their respective directories, my system needed a restart. Now the software works just fine. smile

Offline

#3 2017-06-17 15:45:30

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved] How to install libg2c?

It is not a good idea to install stuff to system directories outside of pacman. The correct way is to create a pacman source package which you can then build using makepkg and install using pacman -U. Furthermore you can upload it to the AUR so the community benefits. Installing outside of pacman loses the benefits of a package manager and can conflict with the package manager.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2022-08-23 14:46:18

dmccrackett
Member
Registered: 2022-08-23
Posts: 1

Re: [Solved] How to install libg2c?

Tried your method but not working for me.  To clarify: you put those files extracted from the .deb in /usr/lib/ and /usr/share/doc/. 

I can load data and do preprocessing with jmrui but when I click on any quantitation methods, I get libg2c0.so.0: cannot open shared object file: No such file or directory.
Which seems like jmrui is not looking in /usr/lib/ or the libg2c0 is not in the right place.

Guess I will have to switch to  debian-base.

Offline

#5 2022-08-23 15:19:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [Solved] How to install libg2c?

Please do not necrobump.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB