Bug 13350

Summary: Removing *.la files from freehdl package breaks digital circuit simulation
Product: Mageia Reporter: Oleg Bosis <olegbosis>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Simple digital circuit for qucs for testing digital simulation using freehdl

Description Oleg Bosis 2014-05-09 12:48:42 CEST
Created attachment 5140 [details]
Simple digital circuit for qucs for testing digital simulation using freehdl

I've tried to use freehdl (with qucs as a gui) for digital circuit simulation and encountered two problems:

1. 'freehdl-config --libtool' and 'freehdl-config --ieee' commands return strings with non-existant *.la files. This breaks compilation of digital simulation.

The error message is:

libtool: link: cannot find the library `/usr/lib64/libfreehdl-kernel.la' or unhandled argument `/usr/lib64/libfreehdl-kernel.la'

If I fix the freehdl-config by replacing *.la files with corresponding *.so files then I see the second problem:

2. libieee.so* files are placed in non-standard $libdir/freehdl folder which prevents finding them in runtime if simulation was linked without libieee.la file.
Comment 1 Jani Välimaa 2014-05-09 17:48:13 CEST
Seems qucs is also missing some requires. I'll check this.

CC: (none) => jani.valimaa

Comment 2 Oleg Bosis 2014-05-09 19:15:07 CEST
(In reply to Jani Välimaa from comment #1)
> Seems qucs is also missing some requires. I'll check this.

qucs should require freehdl-devel (and thus g++ and libstdc++-devel) to run digital circuit simulation as it uses some C++ source code generation and compilation. Analog circuit simulation doesn't require it.
Comment 3 Jani Välimaa 2014-05-10 07:01:19 CEST
Pushed new release of freehdl which should fix the issue. Added also some reqs to qucs.
Comment 4 Jani Välimaa 2014-05-25 11:24:06 CEST
I'm closing this as fixed. Feel free to reopen if needed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED