bugPSPP - Bugs: bug #61535, compile from source latest pspp...

 
 

bug #61535: compile from source latest pspp (22NOV - 20211122124641/)

Submitter:  elias tsolis <estatistics>
Submitted:  Tue 23 Nov 2021 08:16:09 PM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 23 Nov 2021 10:27:38 PM UTC, comment #6: 

I'm glad you solved the problem.

Do you understand what the problem was?  I don't.

Ben Pfaff <blp>
Group administrator
Tue 23 Nov 2021 09:03:05 PM UTC, comment #5: 


comment #4:

> problem solved
>
> sudo apt-get purge --auto-remove libgio*
> cd /usr/lib/x86_64-linux-gnu
> sudo rm libgio*
>
> Now 1.5.3 was compiled


sudo apt-get install libgio*

elias tsolis <estatistics>
Tue 23 Nov 2021 09:01:04 PM UTC, comment #4: 

problem solved

sudo apt-get purge --auto-remove libgio*
cd /usr/lib/x86_64-linux-gnu
sudo rm libgio*

Now 1.5.3 was compiled

elias tsolis <estatistics>
Tue 23 Nov 2021 08:44:37 PM UTC, comment #3: 

no it didnt help.

Also, my older build that was running fine is crashing and when built again (1.5.2) same error.

It will need a lot of search what happened...

elias tsolis <estatistics>
Tue 23 Nov 2021 08:30:26 PM UTC, comment #2: 

These undefined functions aren't ones that PSPP calls directly, so this must that there's an unsatisfied dependency among the libraries themselves.  These functions should be defined in libglib-2.0, so perhaps there's something wrong with the link order.

Try running the link command you quoted with an additional "-lglib-2.0" at the end.  Does it help?

I don't think that forum post from 2011 is going to be helpful.

Ben Pfaff <blp>
Group administrator
Tue 23 Nov 2021 08:19:16 PM UTC, comment #1: 
elias tsolis <estatistics>
Tue 23 Nov 2021 08:16:09 PM UTC, original submission:  

compile from source latest pspp (22NOV  - 20211122124641/)

I use Ubuntu 21.04 (latest one - all upgrades with latest gsl 2.7)

/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -Wc11-c2x-compat -g -O2 -DGCC_LINT     -o src/ui/terminal/pspp  src/ui/terminal/libui.la src/ui/libuicommon.la src/libpspp.la src/libpspp-core.la -L/usr/local/lib/x86_64-linux-gnu -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo  -lreadline -L/usr/local/lib -lgsl -lgslcblas -lm -lreadline -lgslcblas -lz -lm 
libtool: link: gcc -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -Wc11-c2x-compat -g -O2 -DGCC_LINT -o src/ui/terminal/.libs/pspp  src/ui/terminal/.libs/libui.a src/ui/.libs/libuicommon.a src/.libs/libpspp.so -L/usr/local/lib src/.libs/libpspp-core.so -lxml2 -lpq -L/usr/local/lib/x86_64-linux-gnu -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo /usr/local/lib/libgsl.so -lreadline /usr/local/lib/libgslcblas.so -lz -lm -Wl,-rpath -Wl,/usr/local/lib/pspp
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_uri_split_network'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_uri_is_valid'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_memdup2'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_uri_join'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_uri_split_with_user'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_spawn_async_with_pipes_and_fds'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined reference to `g_file_set_contents_full'
collect2: error: ld returned 1 exit status
make[2]: * [Makefile:7939: src/ui/terminal/pspp] Error 1
make[2]: Leaving directory '/home/elias/Downloads/pspp153'
make[1]: * [Makefile:12363: all-recursive] Error 1
make[1]: Leaving directory '/home/elias/Downloads/pspp153'
make: * [Makefile:6484: all] Error 2

elias tsolis <estatistics>

 

(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 blp (Posted a comment)
  • -email is unavailable- added by estatistics (Submitted the item)
  • -email is unavailable- added by estatistics
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-23 blp StatusNone Fixed
        Open/ClosedOpen Closed
    2021-11-23 estatistics Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code