bugGNU Octave - Bugs: bug #57607, [octave forge] (netcdf) problems...

 
 

bug #57607: [octave forge] (netcdf) problems installing netcdf with libnetcdf in non-standard directory

Submitted by:  None
Submitted on:  Wed 15 Jan 2020 11:16:41 PM UTC  
 
Category:  Octave Forge Package Severity:  2 - Minor
Priority:  3 - Low Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  grg Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 15 Jan 2020 11:28:31 PM UTC, comment #1: 

This may also affect users who are not using Flatpak, so changing summary. The primary difficulty is that libnetcdf.so may be installed in a non-standard directory, such as $HOME/lib or /opt/netcdf/lib.

The nc-config program gives the -L options needed to link with the library at build time, but the user will probably still need to set LD_LIBRARY_PATH for Octave to be able to load the oct file.

Building the oct file with the -rpath option would allow the libnetcdf library to be found in the right directory without the user having to set LD_LIBRARY_PATH whenever they want to use this package.

Mike Miller <mtmiller>
Project Administrator
Wed 15 Jan 2020 11:16:41 PM UTC, original submission:  

please see this email trail describing difficulties in installing netcdf using octave installed with flatpak
https://github.com/flathub/org.octave.Octave/issues/86

To make this easier, it may be worth investigating adding the -rpath option to the build rules so the user doesn't have to set LD_LIBRARY_PATH

I hope this helps

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-15 mtmiller Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Confirmed
        Release5.1.0 => dev
        Summaryproblems installing netcdf with flatpak => [octave forge] (netcdf) problems installing netcdf with libnetcdf in non-standard directory

    Back to the top


    Powered by Savane 3.5