WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pcre symlinks  (Read 3085 times)

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
pcre symlinks
« on: August 24, 2016, 01:55:38 PM »
Good afternoon all!  I have been playing around with some of the packages for TC and noticed several warnings from the pcre package - the libs are not symlinked (which ldconfig complains about).  I know this is true for the 32bit, but not sure about other arch's.

Dave

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pcre symlinks
« Reply #1 on: August 24, 2016, 08:38:35 PM »
Dave

be more specific. Which architecture and which version are you talking about? Please attach warnings you are referring.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: pcre symlinks
« Reply #2 on: August 25, 2016, 02:37:52 PM »
Hey bmarkus, see the x86 version in 7.x (could be others too though).  Here are the errors:

/sbin/ldconfig: /usr/local/lib/libpcre.so.0 is not a symlink
/sbin/ldconfig: /usr/local/lib/libpcrecpp.so.0 is not a symlink
/sbin/ldconfig: /usr/local/lib/libpcreposix.so.0 is not a symlink

Dave

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: pcre symlinks
« Reply #3 on: August 27, 2016, 02:03:45 AM »
True, in tc-7.x x86, libpcre looks to be hard linked:
Code: [Select]
$ ls -l /tmp/tcloop/pcre/usr/local/lib/libpcre.so*
-rwxr-xr-x    1 root     root        378768 Sep 27  2014 /tmp/tcloop/pcre/usr/local/lib/libpcre.so
-rwxr-xr-x    1 root     root        378768 Sep 27  2014 /tmp/tcloop/pcre/usr/local/lib/libpcre.so.0
-rwxr-xr-x    1 root     root        378768 Sep 27  2014 /tmp/tcloop/pcre/usr/local/lib/libpcre.so.0.0.1

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pcre symlinks
« Reply #4 on: August 27, 2016, 04:26:53 AM »
What is the problem with hard links and issue caused by them?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: pcre symlinks
« Reply #5 on: August 29, 2016, 04:38:30 PM »
@bmarkus not sure, but ldconfig sure complains about it.  Why keep something that *may* cause a problem when it's trivial to just symlink properly?

Dave

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pcre symlinks
« Reply #6 on: August 30, 2016, 02:06:19 AM »
ldconfig: it is not a complaint just a report which is true, it is not symlink. Still you didn't explain why is it a problem and didn't provide a case where it is causing a problem.

This extension is 2 years old and just works fi9ne, no any pcre related issue reported. Why to change something which works?

It will stay in the repo as it is till it is found buggy.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: pcre symlinks
« Reply #7 on: August 30, 2016, 03:53:20 PM »
@bmarkus I simply brought it to the attention of everyone so it could get fixed.  If you don't want it fixed, your prerogative.  However, if you would like it fixed, let me know and I'll fix it - it really is trivial to do so...

Dave

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pcre symlinks
« Reply #8 on: August 30, 2016, 04:28:33 PM »
Don't fix what don't need to be fixed. Still you did not provide any evidence of problem.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: pcre symlinks
« Reply #9 on: August 30, 2016, 04:52:53 PM »
Taking a look at the package creator, I see that it is... bmarkus.  This is not an attack against you - no reason for the hostility.  Why do something half-a$$ed when, again, it is very trivial to fix the problem (I'll even fix it if you'd like).  This is just cluttering up logs (and storage) senselessly and potentially leading someone in the wrong direction if they are trying to resolve any experienced issues (which did happen to me).

I think at this point, we are just going to go around in circles with one another so this will be my last post about this.  If you want me to do the work, let me know!

Dave

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pcre symlinks
« Reply #10 on: August 31, 2016, 03:37:22 AM »
Dave

that's fine. I'm happy to hand over pcre.tcz maintenance to you for x86 architecture.

Regards... Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: pcre symlinks
« Reply #11 on: August 31, 2016, 12:44:02 PM »
I just emailed the fixed package for pcre.  Take a look at them to make sure they work (they did so on my computer).  Also, I'm not interested in taking over any type of maintenance, I was simply fixing the package - contributing something back to the community.  If you don't want it, ignore/delete the email.

Dave