Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static library (libpythonX.Y.a) installed in incorrect location #50353

Closed
Arfrever mannequin opened this issue May 25, 2009 · 3 comments
Closed

Static library (libpythonX.Y.a) installed in incorrect location #50353

Arfrever mannequin opened this issue May 25, 2009 · 3 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes topic-installation type-bug An unexpected behavior, bug, or error

Comments

@Arfrever
Copy link
Mannequin

Arfrever mannequin commented May 25, 2009

BPO 6103
Nosy @loewis, @warsaw
Files
  • python-2.6.2-fix_static_library_location.patch: python-2.6.2-fix_static_library_location.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2009-05-25.05:26:12.077>
    labels = ['3.8', 'type-bug', 'expert-installation', '3.9', '3.10']
    title = 'Static library (libpythonX.Y.a) installed in incorrect location'
    updated_at = <Date 2020-11-11.12:07:02.386>
    user = 'https://bugs.python.org/Arfrever'

    bugs.python.org fields:

    activity = <Date 2020-11-11.12:07:02.386>
    actor = 'djc'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Installation']
    creation = <Date 2009-05-25.05:26:12.077>
    creator = 'Arfrever'
    dependencies = []
    files = ['14065']
    hgrepos = []
    issue_num = 6103
    keywords = ['patch']
    message_count = 3.0
    messages = ['88302', '112176', '144116']
    nosy_count = 3.0
    nosy_names = ['loewis', 'barry', 'Arfrever']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6103'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    @Arfrever
    Copy link
    Mannequin Author

    Arfrever mannequin commented May 25, 2009

    When Python has been configured without --enable-shared option, then
    make install installs $(LIBDIR)/libpythonX.Y.a and
    $(LIBDIR)/pythonX.Y/config/libpythonX.Y.a (these files are identical).

    When Python has been configured with --enable-shared option, then make install installs $(LIBDIR)/libpythonX.Y.so and
    $(LIBDIR)/pythonX.Y/config/libpythonX.Y.a.
    It is inconsistent and causes using of static library instead of shared
    library when a program is linked using "-L$(LIBDIR)/pythonX.Y/config -
    (It was reported at https://bugs.gentoo.org/show_bug.cgi?id=252372)

    I suggest to install libpythonX.Y.a only in $(LIBDIR).

    @Arfrever Arfrever mannequin added the topic-installation label May 25, 2009
    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Jul 31, 2010

    Can someone from the build team please review the attached patch, thanks.

    @BreamoreBoy BreamoreBoy mannequin added the type-bug An unexpected behavior, bug, or error label Jul 31, 2010
    @djc
    Copy link
    Member

    djc commented Sep 16, 2011

    It would be nice to get some feedback on this.

    @iritkatriel iritkatriel added 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes labels Nov 11, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes 3.9 only security fixes 3.10 only security fixes topic-installation type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants